Alternating favicon.ico in each subdirectory?

TonyCabone
TonyCabone used Ask the Experts™
on
Is it possible to have a different favicon come up on different pages, e.g. in a separate subdirectory?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
It possible but you need to have favicon for each subdirectory separately and all files in each subdirectory you must configure to those favicon file as you desire. Here the structure example:

www.sitename.com
                    - favicon.ico
                    /subdirectory1
                    - favicon.ico

                    /subdirectory2
                    - favicon.ico

Hope it would help
                   
Commented:
You will also need to add the following code in the <head> section of your pages


<link href="/YOUR_PATH/favicon.ico" rel="icon" type="image/x-icon" />

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial