View Full Version : Resolved Favicon Site-Wide
X96 Web Design
06-07-2009, 07:15 PM
I've seen this on many sites, including DD... How do I get the Favicon so that no matter where I am in my domain, it shows the Favicon. I have a hunch it's in the .htaccess file...
If anyone can tell me, it would be greatly appreciated.
Thanks,
X96 D
just add a link to it in the <head> of every page. make sure that you use an absolute path, or root-relative path, to the image (or the correct relative path).
<link rel="shortcut icon" href="/favicon.ico">
X96 Web Design
06-07-2009, 10:41 PM
I meant even if it's an image or a text file...
For example, if you open DD's stylesheet: http://dynamicdrive.com/ddincludes/mainstyle.css there's still a favicon.
Thanks,
X96
Snookerman
06-07-2009, 10:45 PM
For some browsers, it's enough if you just name the icon favicon.ico and put it in the root of your domain.
Good luck!
X96 Web Design
06-07-2009, 10:51 PM
It worked perfectly! Thanks Snookerman...
I learn something new every day... :p
// X \\
Snookerman
06-07-2009, 11:20 PM
You're welcome X, that's what DD is for :D
Happy coding!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.