On this page
A favicon that still shows the old brand may be coming from an outdated page declaration, an unexpected file at the icon URL, or a stored browser response. The quickest way to narrow it down is to inspect the URL the page declares, check what that URL returns, and then investigate caching.
Key Takeaways
- Inspect the published page’s
rel="icon"links and resolve each URL against the page’s address. - A successful HTTP status does not prove that the response contains the new icon—or that a browser has refreshed its stored copy.
- Check redirects, duplicate declarations, relative paths, and site or browser caches before changing files again.
- A new icon filename or versioned URL can help distinguish the rebrand asset from a previously cached one.
1. Find the favicon URL declared by the page
Open the affected page and use your browser’s developer tools to inspect its HTML. Search the document’s <head> for rel="icon". A declaration might look like this:
<link rel="icon" href="/assets/brand-icon.png" type="image/png">
Here, /assets/brand-icon.png is a root-relative path: on https://example.com, it points to https://example.com/assets/brand-icon.png. By contrast, href="assets/brand-icon.png" is relative to the document’s base URL, which may depend on the page address or a <base> element. The same markup can therefore point to a different location than you expect.
Copy the resolved icon URL from the browser’s inspection tools, or use the address bar to navigate to the resolved URL directly. Check whether the displayed image is the new brand asset. Also inspect the actual page you are troubleshooting: different templates or subdomains may publish different declarations.
Look for more than one icon-related link. Pages can declare several icons, including different sizes or formats. Devices and browsers may choose among them differently. Links such as rel="apple-touch-icon" serve a different purpose from the ordinary tab icon, so updating one does not necessarily update every displayed icon. Check each relevant URL rather than assuming the first declaration is the one in use.
Some browsers may also request /favicon.ico at the site root. If that file still contains the old branding, investigate it alongside the icons explicitly declared in the page.
Advertisement
2. Check the icon URL’s response
Use the HTTP Status Checker on the exact icon URL you found, or inspect the request in your browser’s Network panel. The status check helps identify a response problem; it does not establish which icon the browser has stored or displayed.
- Successful response: A status such as
200means the request succeeded, but the body could still be the old image, a login page, or another unexpected file. Open the response and check the image and content type where possible. - Redirect: Check the
Locationand the final destination. A redirect can lead to an old asset or an error page. If the checker follows redirects automatically, use a browser or another inspection method to examine the individual steps. - Error: A
404suggests the path or deployed file needs attention. A403can indicate an access restriction, while a server error calls for investigation of the hosting service. Check the response details rather than assuming the cause from the status alone. 304 Not Modified: This is a cache-validation response, not a new image body. It indicates the client can reuse a stored response; investigate whether the stored asset and server validators correspond to the new file.
Test a publicly accessible icon URL only if the checker can reach it. An asset behind authentication or a network restriction may behave differently for the checker than it does in your browser. Avoid sharing URLs containing sensitive tokens.
In developer tools, select the icon request in the Network panel and examine its URL, status, response headers, and preview or response body where available. If the request is not visible, reload the page with the Network panel open; also check any filters. A browser may serve a response from cache, so a successful entry alone is not proof that a fresh file was downloaded.
3. Separate a stale file from a stale browser cache
Use these comparisons to decide where to look next:
- Open the resolved icon URL directly. If it shows the old image, check the deployed file, any redirect destination, and any hosting or CDN cache. Your browser may also have a cached response for that direct URL.
- Compare another browser or browser profile. A different result can point toward stored browser data or differences in icon selection. It does not by itself prove which cache is responsible.
- Try the browser’s documented cache-clearing or reload procedure. Developer tools may offer a way to disable the ordinary network cache while they are open. Icon storage and refresh behavior can differ by browser, so verify the result in the browser and context your visitors use.
- Check the page response too. An old cached HTML page may still declare the previous icon URL even after the new asset is deployed.
This article’s browser refresh guidance is intentionally general: MDN’s link element documentation and current browser-specific caching guidance could not be consulted for this draft, and the steps have not been verified against current browser versions. Use the relevant browser’s current documentation for exact menu names and refresh behavior.
Advertisement
4. Publish a distinct icon URL
If the correct file is deployed but an old response remains in use, changing the URL can make the new asset distinguishable from the old one. For example, publish the new file under a new name and update the page declaration:
<link rel="icon" href="/assets/brand-icon-rebrand.png" type="image/png">
Alternatively, a query parameter can distinguish a URL, such as /assets/brand-icon.png?v=rebrand. A distinct filename is often easier to inspect; either approach still depends on your hosting and cache configuration.
After deployment, inspect the published HTML and the new icon URL again. If you use a CDN, reverse proxy, or service worker, check its caching and invalidation configuration too. Changing the icon URL will not help a visitor who is still receiving HTML that references the old URL. It also does not guarantee immediate updates in every browser or in third-party surfaces such as search results.
Common Mistakes
- Checking only the homepage. A different page, subdomain, or template may declare another icon or resolve a relative path differently.
- Treating a
200as proof of the right image. Inspect the response content and any redirects. - Updating one declaration while leaving others unchanged. Audit all icon-related links and the root favicon file where relevant.
- Repeatedly replacing a file at the same URL without checking caches. The deployed file can be correct while an older response is still reused.
- Assuming a status checker refreshes the browser icon. It checks an HTTP response; it does not control the browser’s stored icon or selection.
Best Practices
Keep icon declarations consistent across templates, use paths that resolve as intended, and record the deployed asset URLs as part of the rebrand checklist. After a change, inspect the published page and response in the browsers and devices that matter to your audience. If a problem persists, compare the actual request URL and response at each layer before clearing more caches or redeploying.
Conclusion
Start with the icon URL the affected page actually declares. Confirm what that URL returns, including any redirects, then investigate stored HTML, assets, and browser icon behavior. A distinct new asset URL can make the change easier to diagnose, but it is not a substitute for checking the published page.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.