Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add a Favicon Bing Can Find

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to add or update a favicon so Bing can find and display it in search results. A favicon is the small icon that appears next to your site's name in browser tabs and search engine listings. Bing uses the favicon to make your listing more recognizable, but it only picks it up if the file is placed correctly and the search engine is told about it. You'll need access to your website's files (via FTP or a hosting file manager) and the ability to edit the HTML of your pages.

What You'll Need

  • An image file for your favicon (typically a .png, .ico, or .svg file, 32x32 pixels or larger)
  • Access to your website's root directory (where your main index.html or homepage file is)
  • A way to edit HTML files (a text editor or your CMS's theme editor)
  • If using WordPress or another CMS, access to the theme files or a plugin that handles favicons

Step-by-Step

  1. Create or obtain your favicon file. The most common format is a .ico file, but Bing also supports .png and .svg. The recommended size is 32x32 pixels, but a 64x64 or 128x128 pixel image also works. If you don't have one, you can create a simple icon using an image editor or an online favicon generator.
  2. Name the file correctly. The standard filename is favicon.ico for .ico files, favicon.png for PNG, and favicon.svg for SVG. Using the standard name helps browsers and search engines find it automatically.
  3. Upload the file to your website's root directory. This is the same folder that contains your homepage (e.g., public_html, www, or htdocs). Use FTP (like FileZilla) or your hosting control panel's file manager to upload it.
  4. Add the HTML link tag to your site's <head> section. Open your homepage HTML file (or your theme's header template) and add the following line between the <head> and </head> tags: <link rel="icon" href="/favicon.ico" type="image/x-icon"> (adjust the href and type to match your file). For PNG, use <link rel="icon" href="/favicon.png" type="image/png">. For SVG, use <link rel="icon" href="/favicon.svg" type="image/svg+xml">.
  5. If you use a CMS like WordPress, use a plugin or theme option. Many themes have a customizer section for site icons. Alternatively, install a plugin like "Real Favicon Generator" or "Favicon by RealFaviconGenerator" to handle the upload and code injection automatically.
  6. Verify the favicon is accessible. Open your browser and go to yoursite.com/favicon.ico (or the filename you used). If the image appears, it's accessible. If not, check the file permissions (should be 644 or readable by all) and the path.
  7. Submit your site to Bing Webmaster Tools. Go to Bing Webmaster Tools and sign in with a Microsoft account. Add your site and verify ownership (by adding a meta tag or uploading a file). Once verified, you can submit your sitemap and request a crawl.
  8. Request a URL crawl for your homepage. In Bing Webmaster Tools, use the "URL Inspection" tool (or "Submit URL") to force Bing to crawl your homepage and discover the new favicon. This often speeds up the process.
  9. Wait for Bing to update. Bing doesn't update favicons instantly. It may take a few days to a few weeks. Be patient and check back periodically.

Common Mistakes

  • Using the wrong file path: The href in the link tag must point to the correct location. If your favicon is in a subfolder, use the full URL or relative path (e.g., /images/favicon.png).
  • Forgetting to update the link tag after changing the file: If you replace the favicon file but keep the same name, browsers and Bing may cache the old one. Use a new filename or add a version query string (e.g., favicon.png?v=2) to force a refresh.
  • Using a file that is too large or in an unsupported format: Bing supports .ico, .png, and .svg. Avoid .jpg or .gif. Also, keep the file size under 100KB for fast loading.
  • Not verifying the site on Bing Webmaster Tools: Without verification, Bing may still crawl your site, but you have no way to request a crawl or see errors.
  • Placing the favicon in the wrong directory: It must be in the root, not in a theme folder (unless the link tag points there).

Tips

  • Use a 32x32 or 64x64 pixel image. Bing displays favicons at 16x16, but a larger source image ensures it looks sharp.
  • Make the favicon simple and recognizable. It's tiny, so avoid complex details. A solid background with a simple symbol works best.
  • Test in multiple browsers. Chrome, Firefox, and Edge may handle favicons slightly differently. Use a tool like the RealFaviconGenerator to generate all necessary sizes and code.
  • Use a CDN or cache-busting query string. If your site uses a content delivery network, the favicon may be cached. Add a version parameter to the URL to force an update.
  • Keep the file in the root even if you use a plugin. Some plugins may place the favicon in a subfolder, but the standard location is the root.

Troubleshooting

  • Bing still shows the old favicon: This is likely due to caching. Clear your browser cache, and in Bing Webmaster Tools, use the "URL Inspection" tool to request an indexation. If that doesn't work, wait a few more days.
  • Favicon appears in browser but not in Bing: Bing may not have crawled your site recently. Submit your sitemap and request a crawl for your homepage. Also, ensure your site is verified in Bing Webmaster Tools.
  • The favicon doesn't load at all: Check the file path in the link tag. Open your site's source code (Ctrl+U) and look for the link tag. Try accessing the favicon URL directly in a browser. If it 404s, the file is not in the correct location or the filename is wrong.
  • WordPress favicon not updating: If you use a theme customizer, make sure you've saved the changes. Some caching plugins may also store the old favicon; clear all caches.
  • Bing shows a default icon: This means Bing hasn't found your favicon. Double-check the link tag and file accessibility. Also, ensure your site is not blocked by robots.txt (though favicon is usually not blocked).

Frequently Asked Questions

Does Bing automatically find favicons without Webmaster Tools?

Yes, Bing can discover favicons through normal crawling, but using Webmaster Tools speeds up the process and lets you request a crawl.

What file format does Bing support for favicons?

Bing supports .ico, .png, and .svg formats. The .ico format is the most traditional, but .png is widely used.

How long does it take for Bing to update a favicon?

It can take anywhere from a few days to a few weeks. After requesting a crawl, it usually appears within a week, but there's no guarantee.

Can I use a favicon from a CDN?

Yes, you can host your favicon on a CDN and reference it in the link tag. Just make sure the URL is accessible and the file is not blocked.

Do I need to add the favicon to every page?

No, if you add the link tag to your site's header template (like in WordPress), it applies to all pages automatically.

What if my favicon is not showing in Bing but shows in Google?

Bing's indexing may be slower. Ensure your site is verified in Bing Webmaster Tools and request a crawl. Sometimes Bing ignores favicons on subdomains or non-www versions; make sure you're using the correct domain.