Possible Duplicate:
Favicon in subdirectory all subdomain
My website is one big website, with many little projects in it. Each of the projects also have their own favicon.ico
file (the one which is shown on the left hand side of the url bar), but even if I put a favicon.ico
file inside a subdirectory, it will still not show up, and will use the favicon.ico
file put at the root directory.
How do I solve this problem?
Lucas
Favicons were traditionally associated with a site, but since they can be included via markup in a page, you could, if you wanted, have a different favicon for each page of your site, or even for each request of a page.
Exporting the icon for Web use is straightforward. Choose File -> Save for Web & Devices and then choose PNG-24 from the Preset pop-up menu. Click Save, enter favicon. png as the file name, and once again click Save.
To add a favicon to your website, either save your favicon image to the root directory of your webserver, or create a folder in the root directory called images, and save your favicon image in this folder. A common name for a favicon image is "favicon.ico".
You can set it on a per-page basis, like this:
<link rel="shortcut icon" href="http://example.com/myicon.ico" />
inside the <head>..</head>
tags.
Setting it on a per directory basis does not work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With