GPSJane Posted December 28, 2009 Share Posted December 28, 2009 Anyone know about adding a favicon to a subfolder? I have a domain pointing to a folder on another domain and of course it should have it's own favicon. I've got a index.php file and have tried using <LINK rel="shortcut icon" href="favicon.ico"> but to no avail. Link to comment Share on other sites More sharing options...
Err Posted December 28, 2009 Share Posted December 28, 2009 You cannot relative link your favicon if it's on another domain. For that you will have to absolute link it, this means writing the full path to the favicon.http://www.example.com/subfolder/favicon.ico Link to comment Share on other sites More sharing options...
GPSJane Posted December 28, 2009 Author Share Posted December 28, 2009 You cannot relative link your favicon if it's on another domain. For that you will have to absolute link it, this means writing the full path to the favicon.http://www.example.com/subfolder/favicon.ico It's not really linked to another domain because the domain is forwarded to this directory...? Link to comment Share on other sites More sharing options...
Err Posted December 28, 2009 Share Posted December 28, 2009 Put the favicon inside the subfolder, if it is it's own domain it will act like it and the favicon will automatically link to all your pages inside that folder without the use of a meta link for it. If it's not showing up, make sure the file name is called favicon.ico and try clearing your cache. Link to comment Share on other sites More sharing options...
GPSJane Posted December 28, 2009 Author Share Posted December 28, 2009 Put the favicon inside the subfolder, if it is it's own domain it will act like it and the favicon will automatically link to all your pages inside that folder without the use of a meta link for it. If it's not showing up, make sure the file name is called favicon.ico and try clearing your cache.Ok I have done both and neither work. It works when I access the folder directly though which means my html is correct and the file is there with the right name.Why would a linked domain to the same folder not display it correctly? I have linked it by the full address and path. Link to comment Share on other sites More sharing options...
thescientist Posted December 28, 2009 Share Posted December 28, 2009 have you tried clearing your cache? Link to comment Share on other sites More sharing options...
GPSJane Posted December 30, 2009 Author Share Posted December 30, 2009 No but I worked it out; it's because the forwarding using a frame to 'point' and cloak to the other domain.So anyone know how I can change that? A bit of php perhaps? Link to comment Share on other sites More sharing options...
Synook Posted December 31, 2009 Share Posted December 31, 2009 Why are you using URL cloaking anyway? You could always change the favicon of the frame-containing page, but if you don't have access to it you can't change the favicon. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.