justsomeguy Posted January 31, 2008 Share Posted January 31, 2008 It's not a server setting. Browsers will look for favicon.ico at the root of your server. You can check the server logs and see a ton of requests for favicon.ico and robots.txt regardless of whether or not those files are actually on the server. Browsers just send a request for /favicon.ico, so if you have it there then the browser will pick it up. Link to comment Share on other sites More sharing options...
aamberker Posted February 1, 2008 Author Share Posted February 1, 2008 Server settings.A lot of servers are configured to automatically use favicon.ico on all pages if it's in the top directory of the website.Hey Ingolme, justsomeguy is not agreeing with you!!!... Link to comment Share on other sites More sharing options...
aamberker Posted February 1, 2008 Author Share Posted February 1, 2008 It's not a server setting. Browsers will look for favicon.ico at the root of your server. You can check the server logs and see a ton of requests for favicon.ico and robots.txt regardless of whether or not those files are actually on the server. Browsers just send a request for /favicon.ico, so if you have it there then the browser will pick it up.Hi justsomeguy,Thanks for your response.FYI - The "favicon.ico" file is placed [uploaded] with .html web pages and hence it confirms that the file is at the root of our server. How do I check the server logs? We have around 60 .html pages. Do I need to incorporate the following code in all the .html pages???~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<link rel="shortcut icon" href="http://xxx.com/favicon.ico" type="image/vnd.microsoft.icon"><link rel="icon" href="http://xxx.com/favicon.ico" type="image/vnd.microsoft.icon">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
Synook Posted February 1, 2008 Share Posted February 1, 2008 Yes, you need to have the favicon link on all the pages you want it to appear on. You can, however, configure the server to display the favicon without using the link tag. Link to comment Share on other sites More sharing options...
aamberker Posted February 1, 2008 Author Share Posted February 1, 2008 Yes, you need to have the favicon link on all the pages you want it to appear on. You can, however, configure the server to display the favicon without using the link tag.Hi Synook,Thanks for your response...Ohh!!!.. hummmm... I understood your what you said. BUT DUDE, HOW DO I CONFIGURE IN THE SERVER TO DISPLAY THE favicon.ico FILE WITHOUT USEING THE LINK TAG??? Do I need to play-around in Control Panel and enable something over there???OR Link to comment Share on other sites More sharing options...
aamberker Posted February 4, 2008 Author Share Posted February 4, 2008 Yes, you need to have the favicon link on all the pages you want it to appear on. You can, however, configure the server to display the favicon without using the link tag.Synook,How do I configure in the server to diaplay the favicon.ico file without using the link tag??? Do I need to play-around in Control Panel and enable something over there??? Link to comment Share on other sites More sharing options...
aamberker Posted February 4, 2008 Author Share Posted February 4, 2008 Folks,In our Company's website I tried with the following CODEs - As suggested by jlhaslip<link rel="shortcut icon" href="http://COMPANY.com/favicon.ico" type="image/vnd.microsoft.icon"><link rel="icon" href="http://COMPANY.com/favicon.ico" type="image/vnd.microsoft.icon">oOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoAs suggested by boen_robot<link rel="shortcut icon" href="/favicon.ico" />oOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoAs suggested by Synook <link rel="shortcut icon" href="http://www.yourdomain.com/favicon.ico" />SOMEHOW IT'S NOT WORKING But as suggested by jlhaslip, it's working in http://www.mirroremage.com/testing.html URL. And in couple of 2 more different domains But still acting-up and doing some sort of DRAMAS in our Company's website So? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 4, 2008 Share Posted February 4, 2008 Enough with the server configuration. This is really, really easy.Step 1: create a valid favicon.ico file. If you don't have a program to do that, do a Google search for favicon generators, there are websites that will do it for you.Step 2: copy the favicon.ico file to the root of your web site. If the root of your web site is at c:\inetpub\wwwroot\domain.com\ then copy the file to c:\inetpub\wwwroot\domain.com\favicon.icoStep 3: there is no step 3.This is how I have it set up, we have a server that hosts over 20 sites. This is how you do it, you just copy the icon into the root of the site. You don't *need* to put a link tag on every page, but it's not going to hurt anything if you do. You also don't need to change server settings, the favicon behavior doesn't have anything to do with servers, it's all about the client. If you tell your web browser that you are requesting http://sub2.sub1.domain.com/dir1/dir2/page.html then the browser will automatically look for an icon at http://sub2.sub1.domain.com/favicon.ico and display it if it exists. How do I check the server logs?Depends on the server. Check the documentation, or ask the admin (I assume you're not the admin, or you'd probably already know about favicons).Do I need to incorporate the following code in all the .html pages???No.HOW DO I CONFIGURE IN THE SERVER TO DISPLAY THE favicon.icoYou don't. The server doesn't display anything. The browser does.Do I need to play-around in Control Panel and enable something over there???Nope.SOMEHOW IT'S NOT WORKINGMake sure it's a valid icon file. A valid icon file is not just another format that you rename to .ico, it is a specific format that you need to create. If it's not in the right format a lot of browsers won't show it. Link to comment Share on other sites More sharing options...
aamberker Posted February 5, 2008 Author Share Posted February 5, 2008 Step 1: create a valid favicon.ico file. If you don't have a program to do that, do a Google search for favicon generators, there are websites that will do it for you.From the following URL - http://www.mediacollege.com/adobe/photoshop/plugins/ico/ I have downloaded the “Photoshop Plugin for ICO Format” and put it in “File Format” folder. [C:\Program Files\Adobe\Adobe Photoshop CS3\Plug-Ins\File Formats]Step 2: copy the favicon.ico file to the root of your web site. If the root of your web site is at c:\inetpub\wwwroot\domain.com\ then copy the file to c:\inetpub\wwwroot\domain.com\favicon.icoWell, the favicon.ico file is placed along with other .html web pages.Step 3: there is no step 3.This is how I have it set up, we have a server that hosts over 20 sites. This is how you do it, you just copy the icon into the root of the site. You don't *need* to put a link tag on every page, but it's not going to hurt anything if you do. You also don't need to change server settings, the favicon behavior doesn't have anything to do with servers, it's all about the client. If you tell your web browser that you are requesting http://sub2.sub1.domain.com/dir1/dir2/page.html then the browser will automatically look for an icon at http://sub2.sub1.domain.com/favicon.ico and display it if it exists.Thanks for the above information. But as I said earlier, the Favicon shows up in Mozilla Firefox browser and acts-up in IE7 Depends on the server. Check the documentation, or ask the admin (I assume you're not the admin, or you'd probably already know about favicons).Will check with my Admin. YUP!!!.. You are right… I am not admin and trying to understand about favicons. You don't. The server doesn't display anything. The browser does.Ohh!!!... OKAY ~Make sure it's a valid icon file. A valid icon file is not just another format that you rename to .ico, it is a specific format that you need to create. If it's not in the right format a lot of browsers won't show it.It is indeed a valid Icon file. I did not rename it to “.ico”… But somehow not showing-up on IE7… sigh!!!... However, I have sent you a private message. Please pull and read when you get a chance… Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.