Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Favicon

Options
  • 07-01-2011 9:54pm
    #1
    Closed Accounts Posts: 96 ✭✭


    Can anybody explain to me how i put a favicon on my website, I have made the favicon but iam just not quite sure how to put it in.

    I made the favicon with freefavicon.com

    I am using parelalls plesk control panal, There is favicon.ico in httpsdocs and httpdocs.When i open either of these docs to edit them there is about a page long with thousands of different keyboard caracters.

    Do i delete this and put the new one in ??

    Also does it have to be put in as http or can i just add the actual pic??

    Thanks


Comments

  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Call it favicon.ico
    Drop it into the root of your site (most likely httpsdocs and httpdocs) overwriting any file called the same
    Put this line in your code betwen the head tags:
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
    

    That should do the trick


  • Closed Accounts Posts: 96 ✭✭Dreamtime


    Hi tricky d thats a bit vague for the likes of me iam a noob when it comes to all this any easier explainations ?


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Call it favicon.ico
    Open up your ftp program, connect, go to the httpdocs folder, upload it to there
    OR
    use whatever function in the control panel to uploasd it to the same folder

    Put this line in your code between the head tags in all your pages:
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
    

    hth
    /gotta go


  • Closed Accounts Posts: 96 ✭✭Dreamtime


    Ive done pretty much as tricky d has said except i have only tried it for one page of the site and the old favicon is still showing up.

    Also i used a different code between the head tags <link rel="shortcut icon" href="favicon.ico">
    as this was generated when i changed the picture to the favicon

    Do i need to do every page for it to work or does it take a while to come up ?


  • Registered Users Posts: 489 ✭✭Pablod


    You only need to put the code on your main index/default page and all other pages will pick up the favicon

    If the old one is still showing it sounds like your index page does not have the favicon code
    hope this helps


  • Advertisement
  • Registered Users Posts: 7,869 ✭✭✭The_B_Man


    i just put the favicon.ico into my root directory. the browsers will pick it up!


  • Closed Accounts Posts: 96 ✭✭Dreamtime


    thanks for the replys ive put in the index_html folder in the httpdocs is this the right one ?

    Also where is the root directory is it the index_html.

    When i type my address into the tool bar with a slash favicon at the end it shows up with half a page of different keyboard caracters should this be the pic of the favicon ?

    Ive just noticed this when I go into docs and click on the favicon.ico link :Unable to show file /httpsdocs/favicon.ico: Unable to read the file or the file format is not supported.

    Does this mean that it wont except an .ico file ?


  • Registered Users Posts: 7,869 ✭✭✭The_B_Man


    if you type your website name, followed by favicon.ico, it should pop up

    eg http://www.boards.ie/favicon.ico

    or heres my one:
    http://www.dingostew.com/favicon.ico favicon.ico
    or
    http://www.eoinzy.com/favicon.ico favicon.ico

    and i havent edited any html files. Check the boards.ie homepage, and search the source for "favicon" and you wont find any mention of it.


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Yup, It seems as if favicons don't need to be declared and will appear in most browsers automagically. Hadn't noticed that change. I assume this works if it's called favicon.ico and in the root. Nevertheless, it does no harm to explicitly declare it.

    Another note is that favicons can be very persistent wrt caching. Worth checking in another browser which hasn't visited the site.

    The root folder/directory (usually httpdocs or public_html) is the one you put your homepage's file, usually index.html page into.

    If the URL is right and random chars are being displayed, your favicon might be corrupted. Check by dragging a version from your hard disk into your browser window (works for FireFox, dunno about IE) Remake it if it comes up as goobledegook.


  • Closed Accounts Posts: 96 ✭✭Dreamtime


    Thanks for the replys ive tried to change the rights reserved to 2011 on the site today and have found out that that is not coming up on the site.

    I must have upload issues with the favicon.

    Even though when i log into plesk and click on the index_html link it comes up as 2011 but on the site its still 2010.

    Has anyone any experience with parellal plesk control panal that might know what the issue is or am i doing something wrong.

    When i am editing or adding new files I am saving them and clicking finish when done should i be doing something else aswell ??


  • Advertisement
  • Closed Accounts Posts: 96 ✭✭Dreamtime


    Iam still having trouble with this is anybody interested in doing this for me and when done explaining to me how they did it ?

    I have been determined to do it myself but ive tried everything and it wont work


Advertisement