Welcome Guest, Not a member yet? Register   Sign In
Can't seem to access favicon.ico - probably htaccess related
#1

[eluser]Richard Testani[/eluser]
I'm not sure why, but my favicon doesn't seem to load, whether as part of a page or direct access.

Here is my htaccess:
Code:
RewriteEngine on

#Allow these urls to be accessed
RewriteCond $1 !^(index\.php|public|assets|user_guide|css|js|images|forum|press|robots\.txt|favico\.ico)
RewriteRule ^(.*)$ /index.php?/$1 [L]

This would seemingly allow access to the file, as I can access any of the others in the list properly.
Any ideas what would be the issue here?
#2

[eluser]BrianJM[/eluser]
I have nearly the same condition and it works fine.

Are you sure the favicon.ico is a valid favicon?
Code:
RewriteEngine on

RewriteCond $1 !^(index\.php|images|robots\.txt|public|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
#3

[eluser]John_Betong[/eluser]
[quote author="Richard Testani" date="1296079753"]I'm not sure why, but my favicon doesn't seem to load, whether as part of a page or direct access.

Here is my htaccess:
Code:
RewriteEngine on

#Allow these urls to be accessed
RewriteCond $1 !^(index\.php|public|assets|user_guide|css|js|images|forum|press|robots\.txt|favico\.ico)
RewriteRule ^(.*)$ /index.php?/$1 [L]

This would seemingly allow access to the file, as I can access any of the others in the list properly.
Any ideas what would be the issue here?[/quote]
 
Check the RewriteCont spelling of favicon\.ico - it appears to be missing the final n
 
 
 




Theme © iAndrew 2016 - Forum software by © MyBB