milanello72 Posted January 25, 2014 Share Posted January 25, 2014 This script in .htaccess works only if I have favicon.ico in the root. AddType image/x-icon .ico RewriteRule ^favicon.ico favicon.ico [NC,L] I want to put favicon.ico in the directory IMAGESHow could I change .htaccess?Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/285662-favicon-and-htaccess/ Share on other sites More sharing options...
requinix Posted January 26, 2014 Share Posted January 26, 2014 (edited) You're moving favicon.ico to images/favicon.ico. What changes do you think you need to make? Give it a shot: it's not like getting it wrong will destroy the world or anything. But what's the rest of your .htaccess that forced you to add a RewriteRule like that? Maybe this thing can be completely avoided. Edited January 26, 2014 by requinix Quote Link to comment https://forums.phpfreaks.com/topic/285662-favicon-and-htaccess/#findComment-1466569 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.