#1 February 26, 2018 10:57am

bevilleliam
Member
Registered: January 4, 2018
Posts: 6

Favicon

Hi.

I am trying to add the favicon to my website. I have the image and code to insert but do not know where to add.

Can anyone advise?

Offline

#2 February 26, 2018 10:57am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 895

Re: Favicon

You should be able to place favicon.ico into the /site/ directory and it should automatically work in most browsers.

Offline

#3 February 26, 2018 11:02am

bevilleliam
Member
Registered: January 4, 2018
Posts: 6

Re: Favicon

Hi Tim.

Its not working for me.

I added the favicon image to the directory and also added the code to the index.php page at: http://ipopowerlifting.ie/website/site/index.php but when I viewed then all that I could view was a white blank page with no website so I reversed what I did to get website back

Offline

#4 February 26, 2018 11:03am

bevilleliam
Member
Registered: January 4, 2018
Posts: 6

Re: Favicon

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

Offline

#5 February 26, 2018 11:05am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 895

Re: Favicon

If your website is being hosted at a subdirectory rather than the root directory, you'll want to use this for the favicon code:

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

That will tell it to look inside /website/site/ for favicon.ico rather than /

Offline

#6 February 26, 2018 11:06am

bevilleliam
Member
Registered: January 4, 2018
Posts: 6

Re: Favicon

aaahh!

Thank you

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.