How to Add a Favicon in WordPress, Shopify, Wix, Squarespace and HTML

Short answer
How do you add a favicon the quickest way?
The quickest way to add a favicon is your platform's own icon field: the site icon in WordPress General Settings, the favicon image in Shopify theme settings, Website settings in Wix, or the Favicon panel in Squarespace. On a hand-coded site, you upload the files to the root and add a few link tags to the head.
How you add a favicon depends on what your site runs on. WordPress, Shopify, Wix and Squarespace each take the icon through their own settings screen. On a hand-coded site, you upload the files and write the tags yourself. In this guide, we at Talha Aslan and team walk through the steps for each platform, using only the official help documentation, and show you where to look when the new icon doesn't appear.
Whichever route you take, you first need a square image that is large enough. If you don't have one yet, our favicon generator builds the full package in your browser from a logo, a letter or an emoji. After setup, you can switch to test mode on the same page and check the result right away.
Below, we cover preparation first, then each platform, and finally why changes can take a while to show up. Menu names change over time, so for each platform we use the names from the official documentation and link to the source.
What should you prepare before you add a favicon?
Before setup, answer two questions. Is your source image square, and how many files does your platform accept? For example, most site builders want a single image and generate the rest themselves. A hand-built site, on the other hand, needs a small set of files.
Next, here is a general prep list:
- A square source image. Use a mark or an initial instead of a wide logo.
- High resolution. The WordPress documentation asks for at least 512 pixels, and scaling up a small image causes blur.
- A simple shape. Fine details disappear in a 16 pixel tab.
- A background decision. A solid background is safer for home screen icons.
We covered which file needs which dimensions, and how ICO, PNG, Apple touch icons and the manifest differ, in our companion guide on favicon sizes and the files you actually need. Here, we focus on setup only. If you need to change your image format, our image converter can help, and our image resizer handles dimensions.
How does favicon setup differ between platforms?
Each platform keeps the icon on a different screen and also recommends a different image. The table below shows the differences at a glance, based on each official help page. These values are the platforms' own recommendations and can change over time, so check the relevant page once more before you start.
| Platform | Where the icon lives | Recommended image | Watch out for |
|---|---|---|---|
| WordPress 6.5 and later | General Settings, Site Icon | Square, at least 512 px, PNG preferred | Themes or plugins can add their own icon |
| WordPress 4.3 to 6.4 | Customizer, Site Identity | Square, at least 512 px | The menu location depends on the version |
| Shopify | Theme editor, Theme settings | 32 × 32 px | The setting sits under Logo or Favicon, depending on the theme |
| Wix | Dashboard, Website settings | Square, multiples of 48 | Needs a Premium plan, a connected domain and a published site |
| Squarespace | Favicon panel | 100 to 300 px, PNG | Max 100 KB, no ICO uploads |
| Plain HTML | Root folder and head section | Full file set | Tags on every page, home page required |
Still, these differences aren't contradictions. One platform builds its own files from a single upload, while another serves only the tab icon. So on each platform, you follow that platform's recommendation.
How do you add a favicon in WordPress?
First, note that WordPress calls it a site icon. According to the official WordPress favicon documentation, version 6.5 moved this field to the General Settings screen. The steps are:
- Prepare the image and upload it to the media library. It must be square and at least 512 pixels, and PNG is the recommended format.
- Open General Settings in your admin area.
- Click Choose a Site icon.
- Select the image you prepared and save your settings.
If you run an older version, the path is different. For versions 4.3 to 6.4, the documentation points to Appearance, then Customize, then the Site Identity section, where you click Select Image under the Site Icon heading.
The documentation also makes a useful point. When you use the site icon feature, you don't need to prepare a favicon.ico file yourself or edit your template. If you want to know why so many sites run on this system, see our overview of what WordPress is and why people choose it.
What if a WordPress theme or plugin adds its own icon?
Some themes and SEO plugins also offer their own favicon field. If you fill in both the site icon and those fields, you end up with several icon tags in the head. MDN's rel reference explains what happens next: the browser looks at the media, type and sizes attributes to pick the most appropriate icon, and among equally suitable ones it uses the last.
As a result, tag order decides which icon shows up, not you. Then, when your logo changes, one place changes while another keeps the old icon. The fix is simple:
- Decide to manage the icon in one place; on most sites, that is the built-in WordPress site icon.
- Clear the favicon fields in theme and plugin settings.
- Check theme files and header code plugins for old tags you added by hand.
- Open the page source and count how many icon tags remain in the head.
The single source rule isn't unique to WordPress. However, the more plugins you install, the higher the risk of a clash. That's why we suggest making this check part of every WordPress setup.
How do you add a favicon in Shopify?
In Shopify, by contrast, the icon lives in theme settings. The Shopify Help Center page on theme settings gives these desktop steps:
- In your Shopify admin, go to Online Store.
- Find your theme and click Edit theme.
- Click the Theme settings icon.
- Open Logo or Favicon, depending on your theme version.
- In the Favicon image section, click Select image, then choose an existing image or upload one.
- Click Done, then Save.
The page also shows an optional step: you can add alt text to the favicon image in the same section. The recommended size is 32 × 32 pixels, and Shopify notes that it may scale larger images down to that size. On mobile, the Shopify app also follows the same path through Online Store, the theme list and Edit theme.
If your theme has no favicon setting, Shopify's theme customization help says you can edit the theme code if you're comfortable with HTML, CSS and Liquid. Still, don't do that without a backup. If you're new to the platform, our guide on what Shopify is covers the basics.
How do you add a favicon in Wix?
Wix, however, has prerequisites. According to the Wix Help Center favicon article, you need a Premium plan and a connected domain, and you need to publish your site first. Once those are in place, the steps are:
- Go to Settings in your site's dashboard.
- Click Website settings.
- Click Upload Image under Favicon.
- Select your image and click Choose File.
Wix recommends square sizes in multiples of 48, such as 48 × 48 or 96 × 96. That rule doesn't apply to SVG files. Supported formats are ICO, PNG, JPG and SVG, and you should upload a PNG if you want a transparent background.
The article adds two more notes. First, Google may rescale your favicon to 16 × 16 pixels in search results, so choose a design that stays clear at that size. Second, Wix says it can't guarantee when Google will pick up the icon or whether Google will show it. If you're still deciding on a platform, our guide on what Wix is and how to build a site with it gives you the big picture.
How do you add a favicon in Squarespace?
Squarespace, meanwhile, keeps the icon in a dedicated Favicon panel. The Squarespace Help Center favicon article lists these steps:
- Open the Favicon panel.
- Drag your image into the uploader, or click it to choose a file from your computer.
- Optionally, add a second version that shows when visitors use dark mode.
- After your images upload, click Save.
Note that you can't add a dark mode version on its own; you need a default favicon first. The article says favicons display at 16 × 16 pixels but work best across browsers when you upload something between 100 and 300 pixels. PNG is the recommended format. On the other hand, ICO files aren't accepted, and the file can't exceed 100 KB.
The article also suggests clearing your browser cache and restarting the browser if the new icon doesn't appear, because browsers hold on to old favicons. That advice applies to every platform, not just Squarespace. We cover caching in its own section below.
How do you add a favicon with plain HTML?
On a site you or a developer coded by hand, you do two things: upload the files and write the tags. First, place the files in the root folder, where your home page lives. Then add these lines to the head of your template:
<link rel="icon" href="/favicon.ico" sizes="48x48">This is the ICO file in the root.<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">This is the large square PNG for Google.<link rel="apple-touch-icon" href="/apple-touch-icon.png">This covers the iPhone and iPad home screen.<link rel="manifest" href="/site.webmanifest">This links Android icons and colors.
The tags should appear on every page, but the home page matters most for Google. The Google Search Central favicon guidelines ask you to add the link tag to the head of your home page. They also note that the file doesn't need to live on your own site, so a CDN works too.
If you use a shared template, keep the tags in one place, usually the header partial. Then every page gets the same icon, and a change touches only one file. MDN's rel attribute reference also notes that authors should no longer use the old shortcut value; for new setups, icon is enough.
What if you can't upload files to your site?
On site builders and some managed systems, you can't place files in the root. In that case, don't fight for a full file set. Use the platform's own favicon field instead. Check the size it wants in the table above; if it doesn't say, a single square, high resolution PNG is the safest choice.
This approach has a cost, however. Some platforms don't let you control the Apple touch icon or the manifest file. Therefore, you can't fully decide how a home screen shortcut looks. For most business sites, that's an acceptable limit.
On platforms that let you edit code, be careful:
- Back up the theme before you change anything.
- Don't use the platform field and a hand-added tag at the same time.
- Remember that a theme update can wipe out manual changes.
We compared how limits like these affect a whole site in our guide to website templates versus custom web design.
How do you set the icon on a phone home screen?
The tab icon and the home screen icon come from different files, so they need separate checks. That's why everything can look right in the tab while the home screen shows a blurry icon or one inside a white frame. For home screens, you handle two separate setups.
iPhone and iPad need the apple-touch-icon tag. According to Apple's web application documentation, if there's no tag, the system searches the root for files that start with the apple-touch-icon prefix. So keeping the file in the root under that name gives you a fallback, even when a template forgets the tag.
Android, in contrast, needs a web app manifest. The manifest carries the site name, colors and icon list, and the manifest tag in the head links to it. Some site builders generate both files for you, while others don't generate either. So after setup, add the site to your own phone's home screen and check the result with your own eyes. Our size guide linked above explains which dimension goes where; here, we only want to stress that the setup has two parts.
Can you host the favicon in a subfolder or on a CDN?
Yes, but a few rules apply. Google's guidelines say the href in the link tag can be relative or absolute, and the file doesn't need to sit on your own site; a CDN works. So keeping icons in an assets folder or on a CDN is fine from Google's point of view.
That said, keep three points in mind:
- The file's location must stay open to Googlebot-Image, and that includes your CDN's own robots.txt rules.
- Keep a copy of favicon.ico in the root anyway, because some tools request the root address without reading your tags.
- If the CDN address changes with every release, the icon URL changes too, while Google asks for a stable URL.
There's one more detail about subfolders. Google shows one icon per hostname, and subdirectories share the root icon. In other words, even if you define a separate icon for example.com/blog, search results will still show the home page icon. In the browser tab, however, each page's own tag applies.
Why doesn't the new favicon show up in your browser right away?
You uploaded the file and saved the setting, yet the tab still shows the old icon. So what went wrong? Almost every time, the browser cache is the reason. Browsers store the icon separately from the page and don't fetch it again for a long time. That's also why Squarespace's help page suggests clearing the cache and restarting the browser.
To check your setup without getting fooled by the cache, follow this order:
- Open the page in a private window. If the new icon shows up there, your setup works.
- Check from another device or another browser.
- Type the icon file's URL straight into the address bar and confirm that the new image opens.
- Look at the page source and check the icon tag in the head.
If all four checks pass, you only need to wait. Your visitors will see the new icon as their own caches refresh. Don't rename the file to beat the cache, though. As we explain below, Google asks for a stable icon URL.
When will the new favicon show up in Google search results?
Keep in mind that your browser and Google are separate worlds. Just because you see the new icon doesn't mean Google sees it too. Google reads the icon when it recrawls your home page, and according to its guidelines, that can take anywhere from several days to several weeks.
To get things moving, you can request indexing for your home page with the URL Inspection tool in Search Console. However, that request doesn't guarantee a faster update. If you're new to Search Console, our beginner's guide to Google Search Console covers the main screens. For general expectations about crawl timing, see our guide on how long Google takes to index a new page.
In addition, two more rules are worth knowing. Google shows one icon per hostname, and subdirectories share the root icon. Also, the guidelines don't guarantee that a favicon will appear even if you meet every requirement. If the icon still hasn't appeared after a few weeks, work through the steps in our guide on a favicon not showing in Google search results.
How can robots.txt break your favicon setup?
Even a flawless setup fails if Google can't reach the file, so access is part of setup. According to Google's guidelines, Googlebot must be able to crawl the home page, and Googlebot-Image must be able to crawl the icon file. Neither URL may sit behind a robots.txt block or any other barrier.
The problem usually starts like this. Someone blocks the image folder to keep images out of search results or to cut server load, and the icon happens to live in that folder. Likewise, moving to a new platform with old rules copied over can cause the same result.
Ask yourself three questions:
- Does the icon path match any of your robots.txt rules?
- Is there a separate rule that blocks Googlebot-Image?
- If the icon URL redirects, is the target URL open as well?
For WordPress sites, we explained what a healthy file looks like in our guide to the best WordPress robots.txt setup.
How does a favicon test verify your setup?
Manual checks are a good start, but opening every file one by one takes time. The test mode in our tool downloads the home page of the address you enter and checks the setup against the requirements in Google's guidelines. Even if you enter a deep page URL, it checks the home page, because that's where Google reads the icon.
During the test, the tool works through these steps:
- First, it reads the icon and manifest tags in the head.
- Next, it probes /favicon.ico and, if there's no tag, apple-touch-icon.png.
- Then it opens the manifest and lists the icons inside.
- After that, it downloads each file and notes the pixel size, status code and content type.
- Finally, it checks robots.txt for the home page and the icon path.
The tool then lists results as pass, warning or error. Know its limits, too. It doesn't run JavaScript, so it can't see icon tags that a script adds. Also, it can't know which icon Google will choose or when Google will update it; it only measures technical requirements.
Does adding a favicon change anything in search results?
Put simply, a favicon isn't a ranking setting. It's a small recognition mark next to your site name in search results. Google's guidelines treat it that way, too, and ask that the icon visually represent your brand. So the real payoff when you add a favicon is that people recognize you at a glance in a list of results.
The guidelines include two more warnings. First, Google won't show an icon it deems inappropriate and replaces it with a default icon. Second, display isn't guaranteed even when you meet every requirement. Therefore, treat the icon as a lasting brand mark rather than a campaign graphic.
In practice, three choices make a difference:
- Use a simple, familiar version of your logo so visitors connect it with your site.
- Pick a mark that belongs to you instead of a random emoji or generic shape.
- Don't change the icon often, both for recognition and because Google asks for a stable URL.
In short, a favicon alone won't bring traffic, but it's the only way to show your brand instead of a blank globe in the results.
Which favicon setup mistakes do we see most often?
In our setup and audit work, the same mistakes come up again and again. Most take minutes to fix, but if nobody notices, they stay in place for months.
- Filling in the platform field and adding a manual tag as well. The two sources clash, and tag order decides which one wins.
- Placing the tag on inner pages only. Google looks at the home page.
- Uploading a wide logo. The platform crops it, or Google rejects it.
- Renaming the file with every attempt. Google wants a stable URL.
- Assuming the setup is broken without testing in a private window. Often, it's just the cache.
- Skipping the Wix prerequisites. Without a Premium plan, a connected domain and a published site, the field won't work.
- Trying to upload an ICO file or a file above 100 KB to Squarespace. The panel won't accept them.
All of these share one lesson: manage the icon in one place and verify every change in the same order. Those two habits also spare you from repeating the same mistakes after a logo refresh or a site move.
What happens to your favicon when you switch platforms?
When you move a site from one system to another, the icon is often the first detail people forget. Files and tags that the old platform generated don't carry over, so you need to set the icon again on the new platform.
During a move, watch these points:
- Fill in the new platform's favicon field before launch, so day one doesn't show a blank icon.
- If you can, keep the icon URL the same. Google's guidelines ask for a stable URL.
- If the URL has to change, expect Google to take a while to pick up the new icon, since it depends on recrawling.
- Don't copy old robots.txt rules to the new site without reviewing them.
Moreover, a move is a good moment to review the icon itself. If the old one doesn't read well at small sizes, you can switch to a simpler version with the new launch. That way, you don't spread two separate changes across two crawl cycles.
A short checklist after you add a favicon
Once you finish setup, work through this list in order, so you don't skip a step. It's the same on every platform and takes less than five minutes.
- Open the page in a private window and look at the tab icon.
- Count the icon tags in the head of the page source.
- Open the icon file URL directly and confirm the right image loads.
- Add the site to your phone's home screen and check that the icon isn't cropped.
- Run the home page through the test tool.
- Request indexing for the home page in Search Console, then wait patiently.
The icon is only a small part of pre-launch checks. For forms, redirects, speed and tracking, see our pre-launch testing checklist.
When should you get help with favicon setup?
On most sites, the steps to add a favicon take a few minutes, and you can follow this guide on your own. To build the package and check the result on a single page, use our free favicon generator: open the tool, pick an image, a letter or an emoji in create mode, download the ZIP, and after setup enter your site address in test mode.
Sometimes, though, the icon is only the visible tip of a bigger problem: clashing themes and plugins, a logo that doesn't work at small sizes, or a site missing SEO basics from heading structure to schema. As Talha Aslan and team, our web design services cover custom design, speed and Core Web Vitals work, and SEO foundations in one plan. If you want your site built right from the start, see the scope and process on our website design agency page.
Core guide: What Is Digital Marketing? Its types, examples and how it is done, on one page with an interactive film that travels through the brain.


