Privacy

Set a recognizable website favicon and fix the wrong browser-tab icon

Use WordPress's native Site Icon, distinguish it from the header logo and verify public icon references, actual image responses and cache layers before changing more settings.

Made by Pagember · Editorial policy

Primary sources + editorial analysisPublished Updated Sources

The short answer

In WordPress, set the favicon through the native Site Icon control using a square PNG of at least 512 by 512 pixels with a simple mark readable at small sizes. Changing the header logo does not change the tab icon. If the old icon persists, check the public page's icon references and the files they request before changing caches or templates.

On this page11 sections

A favicon is the small mark that helps readers recognize a website in browser tabs and bookmarks. In current WordPress versions, set it through the native Site Icon control, then verify the public page's icon references and the files they request. Changing the header logo alone does not necessarily change the browser-tab icon.

A magnifier checking a small browser-tab icon against its website emblem.

The quick version, from the WordPress favicon guide:

  1. Prepare a square PNG at least 512 × 512 pixels with a simple mark that is still readable at 16 pixels.
  2. In WordPress 6.5 or later, go to Settings > General and click Choose a Site Icon. On WordPress 4.3 to 6.4, use Appearance > Customize > Site Identity instead.
  3. Select or upload the image, crop it if asked, and save the settings.
  4. Open your homepage as a logged-out visitor and check the tab. If the old icon remains, follow the checks below before uploading it again.

Separate the icon from other brand images

Mozilla's favicon definition describes the small website identifier used in tabs and bookmarks. It is useful when several pages are open, but the tiny display gives it a different job from a large logo.

AssetMain jobDo not assume
Site Icon or faviconRecognizable mark in supported browser and device contextsThat it can display a full wordmark legibly at a tiny size
Header logoIdentity within the website's page layoutThat changing the logo automatically changes every icon
Social sharing imageIllustrate a shared page in supported social previewsThat the favicon supplies the article's sharing image
Installed web-app assetsSupport a separate app/install presentation where configuredThat a tab icon alone completes an installable-app setup

Design for a small, identifiable shape

Choose a simple mark that still belongs to the brand. A distinctive initial, symbol or reduced logo detail can be easier to identify than a complete business name squeezed into a square.

Preview the artwork at small sizes such as 16 and 32 pixels while preparing it. Check that thin lines, internal spaces and any letter remain recognizable. Look at it against light and dark surroundings; transparent areas can reveal a background you did not design for.

Keep useful space around the mark without making it disappear into excessive padding. Do not rely only on a color change between two almost identical symbols if visitors need to distinguish different sites. A technically valid square can still be a poor identifier.

Prepare the native WordPress Site Icon image

The WordPress favicon guide specifies a square image at least 512 × 512 pixels and recommends PNG for its native workflow. Prepare a clean source file and keep an editable master so future revisions do not depend on enlarging a tiny generated copy.

The Media Library image workflow explains how to keep asset choices and dimensions manageable. The large source image provides material for smaller icon outputs; it is not the size at which a browser tab will necessarily display it.

Set Site Icon in the appropriate WordPress screen

WordPress 6.5 moved the Site Icon control to Settings → General. Click Choose a Site Icon, select the prepared image, complete the crop step if presented, save the settings and reopen the screen to confirm the intended image is selected.

Older WordPress 4.3–6.4 instructions place this control under Appearance → Customize → Site Identity. That historical path explains many screenshots in older tutorials; it should not be treated as the universal route on a current installation.

Check whether the Site Logo block shares the image

WordPress's Site Logo block guide documents a Use as site icon option. Enabling it sets the logo image as the site icon. This is an explicit relationship, not a reason to assume every header logo automatically controls the tab.

If the header uses a wide wordmark and the favicon uses a compact symbol, keep that distinction intentional. Before changing the logo or this option, review whether the existing icon would also change. A header design task should not quietly replace a useful small mark with unreadable text.

Verify the public references and actual image

Open the homepage and a representative article as an ordinary visitor. Inspect their page source or developer tools for icon links, then open the referenced file addresses. Confirm they return the intended image rather than an error, login page or obsolete brand asset.

The WordPress Site Icon output reference shows that the native function can emit several sizes and a touch-icon link. Seeing multiple icon entries is therefore not automatically a conflict.

Look for different systems advertising different brands or stale files. Mozilla's rel attribute reference explains that browsers select among icon links using attributes such as size, type and media. The first icon address you notice may not be the one a particular browser chooses.

Diagnose missing output before blaming the cache

A correct administrator icon does not prove the front end emits the same references. Check the public page separately. A custom theme or integration may supply competing markup or fail to include the standard head output.

The wp_head reference documents WordPress's head action. If a custom theme omits expected output, have its maintainer inspect the supported theme integration. Do not paste another set of global header tags over the problem without identifying its source.

If the page declares the correct address but that file is missing or access-restricted, repair the asset route through the site's normal media or hosting process. If only one template declares a different icon, investigate that template or the component supplying its metadata.

Separate stale HTML, stale files and browser display

Caching can preserve a response after a change. Mozilla's HTTP caching guide explains that stored responses can be reused while fresh. For a favicon issue, first establish which layer still serves the old information.

  • If public HTML still points to the old icon, investigate page caching or the component that emits those references.
  • If HTML points to the expected URL but the retrieved image is old, investigate that file response and relevant asset caches.
  • If the declared URL and retrieved image are correct but one tab remains old, compare another browser context and investigate the browser's local icon/display state.

Chrome's Network panel documentation describes inspecting requests and disabling browser cache during diagnosis. That can help distinguish a reused response from a fresh request; it is not a promise that one refresh clears every browser's favicon-specific state or every shared cache.

Our guide to WordPress changes not showing explains how to clear only the cache layer that holds the old file.

Treat Google Search as a separate consumer

A working browser icon is not a guarantee of a favicon in Google results. Google's favicon documentation requires an appropriate homepage reference and crawlable resources, and explicitly says appearance is not guaranteed even when its guidelines are met.

Google may need to recrawl and process a change. Replacing the icon every day to chase a search preview can make the maintenance problem harder to understand. Verify the official requirements and wait for the relevant processing rather than promising an instant result.

Keep a short acceptance record

  1. Confirm the intended Site Icon is saved on the correct installation.
  2. Check that the public homepage and an article declare the expected icon resources.
  3. Open those resources and verify their actual image content.
  4. Inspect the tab in representative desktop and mobile browsers, accounting for local cached state.
  5. Check the header logo and any separate sharing/app assets if those were also intentionally changed.
  6. Record unresolved browser or search-display differences without calling them fixed.

The image shown when someone shares your page on social media is set separately; our guide to social link previews and Open Graph covers it. Use our website launch checklist for the broader public review.