blazingriver Posted September 3, 2011 Posted September 3, 2011 Hi, I am trying to get a favicon to appear next to the url. I have uploaded a 16px by 16px icon called favicon.ico in my websites directory which didn't do anything.I alsoput this code after the >? in catalog/includes/header.php <link rel="shortcut icon" href="http://buyncollect.com/catalog/favicon.ico"> that just got rid of default icon which is displayed for webpages that don't have favicons. P.S I know that some people say you don't need any code but im using it just incase. THANKS What could be better than a ...YODA PENGUIN :D
germ Posted September 3, 2011 Posted September 3, 2011 Check the site. You uploaded it into the root folder not the catalog folder. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
blazingriver Posted September 3, 2011 Author Posted September 3, 2011 Check the site. You uploaded it into the root folder not the catalog folder. Hi, So where is the catalog folder? I cant find it. Thanks What could be better than a ...YODA PENGUIN :D
germ Posted September 3, 2011 Posted September 3, 2011 It doesn't exist. Change the link to it to be: <link rel="shortcut icon" href="http://buyncollect.com/favicon.ico"> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
blazingriver Posted September 4, 2011 Author Posted September 4, 2011 It doesn't exist. Change the link to it to be: <link rel="shortcut icon" href="http://buyncollect.com/favicon.ico"> Hi, I put the code changed the link but it still doesn't work. Is that what you did for your website? If not could you post what you did. Thanks for your post anyway What could be better than a ...YODA PENGUIN :D
germ Posted September 4, 2011 Posted September 4, 2011 It works on both of the browsers I use (IE7 and FF3.0). Try this: 1. Change the link to this: <link rel="shortcut icon" href="favicon.ico"> 2. Move the code from where it is now to the <head> section of the page where it's supposed to be. 3. Close all your browsers. 4. Clear your temporary internet files. 5. Restart your browser and access the site. If it still doesn't show up try holding the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted September 4, 2011 Posted September 4, 2011 In case you don't know the <head> section is in /includes/template_top.php I'd put it just above the </head> tag. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
blazingriver Posted September 5, 2011 Author Posted September 5, 2011 In case you don't know the <head> section is in /includes/template_top.php I'd put it just above the </head> tag. It works on both of the browsers I use (IE7 and FF3.0). Try this: 1. Change the link to this: <link rel="shortcut icon" href="favicon.ico"> 2. Move the code from where it is now to the <head> section of the page where it's supposed to be. 3. Close all your browsers. 4. Clear your temporary internet files. 5. Restart your browser and access the site. If it still doesn't show up try holding the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server. Hi, Thanks for your post Tried that and it still doesnt showup. I am using firefox 6.0.1 and safari on a mac What could be better than a ...YODA PENGUIN :D
germ Posted September 5, 2011 Posted September 5, 2011 Personally I've never succumbed to the "Mac attack". You have the right code in the right place and it still works on both my browsers. Maybe someone else with a different browser than I use will chime in to say if it works for their browser as well. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥toyicebear Posted September 6, 2011 Posted September 6, 2011 Clear the browser cache and delete all stored offline content. Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
blazingriver Posted September 6, 2011 Author Posted September 6, 2011 Personally I've never succumbed to the "Mac attack". You have the right code in the right place and it still works on both my browsers. Maybe someone else with a different browser than I use will chime in to say if it works for their browser as well. Clear the browser cache and delete all stored offline content. Thanks! It works :) What could be better than a ...YODA PENGUIN :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.