How to Fix a Missing Favicon and Add an Apple Touch Icon
Your homepage has no <link rel="icon"> tag in its <head>, so browsers, search engines and home-screen shortcuts have no declared icon to show. By the end of this guide you will have created a correctly sized icon set, uploaded it, declared it in your homepage's HTML and confirmed that browsers and Google can fetch it.
Why it matters
Google shows a site's favicon next to its result on mobile and desktop. Without a declared, crawlable icon, it falls back to a generic globe, which makes your listing look less trustworthy and lowers click-through rate. Users with many open tabs or bookmarks find your site by its icon, and iOS uses the apple-touch-icon when someone saves your site to their home screen. Relying on the browser quietly requesting /favicon.ico is not enough: some crawlers and tools only use what is declared in the HTML, and that is what this check measures.
What you need
Step-by-step fix
Prepare a square source image
Start from a square logo mark, not your full horizontal wordmark, because the icon is shown as small as 16×16 px. Use a simple shape with strong contrast and a little padding around the edges. Save it as a 512×512 px PNG with a transparent or solid background, and keep an SVG copy if you have one.
Export the icon files
Generate the files you will declare:
- favicon.ico containing 16, 32 and 48 px sizes
- favicon-96x96.png for high-density screens and Google
- apple-touch-icon.png at 180×180 px with a solid background (iOS fills transparency with black)
- favicon.svg (optional) for sharp rendering in modern browsers
The ImageMagick commands below create all of the PNG and ICO files from one source image.
magick logo-512.png -define icon:auto-resize=48,32,16 favicon.ico magick logo-512.png -resize 96x96 favicon-96x96.png magick logo-512.png -background white -flatten -resize 180x180 apple-touch-icon.png
Upload the files to your site root
Place the files at the root of your domain so they resolve at URLs like https://example.com/favicon.ico and https://example.com/apple-touch-icon.png. Root placement also covers browsers and apps that request these paths without reading your HTML. Keep the URLs stable: Google caches favicons, and changing the path often delays updates.
Declare the icons in the homepage <head>
Add these tags inside <head> in the template that renders your homepage. Ideally use the shared header template so every page gets them. The audit checks specifically for a <link rel="icon"> tag, so a file sitting at /favicon.ico without a tag will still fail. Use rel="icon" rather than the legacy rel="shortcut icon".
<link rel="icon" href="/favicon.ico" sizes="48x48"> <link rel="icon" href="/favicon.svg" type="image/svg+xml"> <link rel="icon" href="/favicon-96x96.png" sizes="96x96" type="image/png"> <link rel="apple-touch-icon" href="/apple-touch-icon.png">
Make sure crawlers can fetch the icons
Google fetches favicons with the Googlebot-Image user agent, and the homepage itself must be crawlable. Check that robots.txt does not disallow the icon paths or the folder they live in. Also check that the server returns 200 with a sensible Content-Type (image/x-icon or image/vnd.microsoft.icon for ICO, image/png, image/svg+xml).
curl -I https://example.com/favicon.ico curl -I https://example.com/apple-touch-icon.png curl -s https://example.com/robots.txt
Clear caches and confirm the tags are live
Purge your CMS, plugin and CDN caches so the new <head> is served. Then fetch the live homepage HTML and confirm the link tags are present. Finally, load the site in a private window to see the tab icon, because browsers cache favicons aggressively.
curl -s https://example.com/ | grep -iE 'rel="(icon|apple-touch-icon)"'
Platform-specific notes
WordPress
Go to Appearance > Customize > Site Identity > Site Icon. With block themes, use Settings > General > Site Icon (WordPress 6.5+), or toggle 'Use as site icon' on the Site Logo block. Upload a square image of at least 512×512 px. WordPress then outputs rel="icon" (32 and 192 px) and an apple-touch-icon (180 px) automatically. If an SEO or favicon plugin also adds icons, keep only one source to avoid conflicting tags.
Shopify
Go to Online Store > Themes > Customize > Theme settings (gear icon) > Logo > Favicon image, upload a square PNG, then click Save. Most themes, including Dawn and other Online Store 2.0 themes, render the tag from settings.favicon in layout/theme.liquid. If you use a heavily customised theme and the tag is missing, add `<link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 48, height: 48 }}">` inside <head>. Note that Shopify does not add an apple-touch-icon by default.
Wix
Go to Dashboard > Settings > Website settings > Favicon and upload your image. A custom favicon requires a Premium plan with a connected domain; free sites show the Wix icon. Wix generates the link tags for you, and you cannot add a separate apple-touch-icon file.
Webflow
Go to Site settings > General > Favicon & Webclip. Upload a 32×32 px (or larger square) favicon and a 256×256 px webclip, which Webflow uses as the apple-touch-icon. Then republish the site, because the tags only appear on the published domain.
Next.js
With the App Router, place favicon.ico, icon.png (or icon.svg) and apple-icon.png in the root of the app/ directory. Next.js then emits the rel="icon" and rel="apple-touch-icon" tags automatically. Alternatively, set them with the `icons` field in the metadata export of app/layout.tsx. With the Pages Router, a file in /public is not enough on its own; add the link tags in pages/_document.tsx or via next/head.
Check that it worked
✅ How to verify
- View the homepage source (Ctrl+U or Cmd+Option+U) and confirm a <link rel="icon"> and a <link rel="apple-touch-icon"> appear inside <head>.
- Open each icon URL directly in a browser and confirm it loads, or run curl -I and confirm a 200 status with an image Content-Type.
- Open the homepage in a private window and check the tab icon. On an iPhone, use Share > Add to Home Screen to see the touch icon.
- Re-run the audit and confirm the 'Favicon present' check passes. Then watch your Google result over the following days or weeks for the icon to replace the globe.
⚠️ Common mistakes
- Uploading favicon.ico to the root but never adding a <link rel="icon"> tag. Browsers may find the file, but the declaration this check looks for is missing.
- Using a non-square or very small (16×16 only) image. Google ignores icons that are not square or are smaller than 8×8, and 48×48 multiples render best.
- Blocking the icon folder in robots.txt or behind hotlink protection, so Googlebot-Image cannot fetch it.
- Using a transparent PNG as the apple-touch-icon, which iOS displays on a black background.
Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.
Check my site freeFAQ
What size should a favicon be in 2026?
Provide a favicon.ico with 16, 32 and 48 px sizes, plus a 96×96 PNG or an SVG. Google requires a square icon at least 8×8 px and recommends multiples of 48 px. The apple-touch-icon should be 180×180 px.
Why is Google still showing a globe instead of my favicon?
Google recrawls favicons on its own schedule, so updates can take days to weeks. Check that the homepage declares the icon with rel="icon", that the file returns 200, that robots.txt allows Googlebot-Image, and that the icon is square. Then request indexing of the homepage in Search Console.
Do I still need favicon.ico if I have a PNG or SVG favicon?
It is still worth keeping. Some browsers, RSS readers and tools request /favicon.ico directly, and ICO remains the most widely supported format. Declare it alongside the PNG or SVG so every client finds something it can use.
Is the apple-touch-icon required?
It does not affect the favicon check or Google rankings. However, without it, iOS uses a screenshot or a letter tile when someone adds your site to their home screen. Adding it takes one 180×180 PNG and one link tag.