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! 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 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. Link to comment https://forums.phpfreaks.com/topic/285662-favicon-and-htaccess/#findComment-1466569 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.