SHAD Posted January 22, 2010 Posted January 22, 2010 Greetings to all Can any one please direct me in the right path to how i can put a Favicon/tab icon on the web tab. Regards :) Quote
Guest cablebox Posted January 22, 2010 Posted January 22, 2010 <link rel="shortcut icon" href="/path/to/your/favicon.ico" /> That will work, just put it in the head Quote
shedh Posted January 22, 2010 Posted January 22, 2010 Create your favicon at: http://www.favicon.co.uk/index.php Add this between the <head></head> tags of your index file<link rel="icon" href="http://www.yourdomain.co.uk/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="http://www.yourdomain.co.uk/favicon.ico" type="image/x-icon" /> Obviously change yourdomain.com to your actual domain name NOTE: According to http://www.favicon.co.uk/help.php it's advised to add both lines ~Shedh Quote
SHAD Posted January 22, 2010 Author Posted January 22, 2010 Thank you,shedh,cablebox. :thumbup: Quote
Guest cablebox Posted January 22, 2010 Posted January 22, 2010 Shedh, if by adding the top line, a person using Mozilla Firefox's Firebug is able to change the location the favicon is and instead of a favicon, could link it to something else. And because it is located in your header.php, the result can be quite bad. Quote
seanybob Posted January 23, 2010 Posted January 23, 2010 I've always just uploaded a ico file named favicon.ico to my game/website directory, and it worked just fine (didn't have to change any code) Quote
shedh Posted January 23, 2010 Posted January 23, 2010 Shedh, if by adding the top line, a person using Mozilla Firefox's Firebug is able to change the location the favicon is and instead of a favicon, could link it to something else. And because it is located in your header.php, the result can be quite bad. eh? how can someone change anything on your website by using firebug? It will only change things their own computer it has no effect on your server Quote
srachit Posted January 23, 2010 Posted January 23, 2010 I have to agree with Sean, I just upload the image as favicon.ico and finished it works properly :) Quote
a_bertrand Posted January 24, 2010 Posted January 24, 2010 No you cannot change anything with firebugs. It will just change for the person which is actually trying to do things with firebugs and nobody else. Quote
iR00T Posted January 26, 2010 Posted January 26, 2010 I've always just uploaded a ico file named favicon.ico to my game/website directory, and it worked just fine (didn't have to change any code) You don't have to add any code. Most servers automatically use your favicon.ico. I've never had to use any code. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.