Jump to content
MakeWebGames

Recommended Posts

Guest cablebox
Posted

<link rel="shortcut icon" href="/path/to/your/favicon.ico" />

That will work, just put it in the head

Posted
  1. Create your favicon at:
    http://www.favicon.co.uk/index.php
  2. 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

Guest cablebox
Posted

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.

Posted

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
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...