Your website’s favicon might seem like a small detail, but it’s an essential part of your brand identity. That tiny icon you see in browser tabs, bookmarks, and mobile search results helps users recognize and remember your site. So, if you’re looking to change or update your favicon in WordPress, you’re in the right place.

In this step-by-step guide, I’ll show you the most reliable way to change your favicon in any CMS: through the Root-directory of your website.

By the end of this article, you’ll have a clear, favicon happily showing on all your favourite platforms.

Change your favicon through the root of your website

This method is for users who want absolute control over how their favicon appears across all different browsers and devices. For this we will be using realfavicongenerator.net and the (free) WP File Manager plugin.

Prepare your favicon using RealFaviconGenerator.net

  1. Visit realfavicongenerator.net
realfavicongenerator
realfavicongenerator
  1. Upload your favicon design, preferably in .png format
Upload favicon
Upload favicon
  1. Customize your favican as you wish. You can change how it looks in dark mode, as an Apple Touch Icon and the Web app manifest.

  2. Fill in the Favicon path. This is the path where we will upload your favicon-files. I recommend that you leave it as your root directory ’/’, because this is where the most browsers will look for your favicon.

Favicon path
Favicon path
  1. Click on Next.

  2. Download your favicon package. NOTE: Leave this webpage open, because we will need the HTML-code later.

HTML code, don't close this page
HTML code, don't close this page
  1. Exctract the favicon.zip in your Finder (Apple) or Explorer (Windows).
Files in your finder
Files in your finder

Upload the favicon files to the Root directory of your website

Uploading files to the root of your website is an activity for advanced WordPress users. You can do this through an FTP-connection with your websites server, however in this explanation I will be using the WP File Manager plugin.

  1. In your WordPress dashboard, go to Plugins → Add new plugin, and look for WP File Manager
WordPress Plugins, file manager
WordPress Plugins, file manager
  1. Click on Install Now → Activate to install and activate the plugin. You might be prompted with a message that installing the plugin was successful.

  2. In your WordPress dashboard, go to WP File Manager. Make sure you navigate to the folder where you find the three folders wp-admin, wp-content and wp-includes. This is the Root directory of your website.

WP File Manager
WP File Manager
  1. Click on the Upload files icon. It looks like a black and white floppy disk with a green ‘+’ -icon.
Upload Files WP File Manager
Upload Files WP File Manager
  1. Now Upload the files in the favicon folder that you downloaded before. Make sure to not upload the folder, but only the files that are in the folder.

  2. You will now see the files listed. Double check that all files have been uploaded.

Check the uploaded files
Check the uploaded files

Place the HTML to the < head> of your website

In this explanation I will be using the Elementor Custom Code functionality to add the code to the head of your website.

If you are not an Elementor user, you can use a plugin like Code Snippets to easy inject the code. Another possibility is directly editing your theme’s header.php before the closing < /head> tag.

  1. In your WordPress dashboard, go to Elementor → Custom Code.
Add Header Code Elementor
Add Header Code Elementor
  1. Click on New Code.
Add New Code
Add New Code
  1. Copy the HTML code from realfavicongenerator.net that we created earlier.
Copy the HTML
Copy the HTML
  1. Paste the code in the editor field of your Elementor Custom Code.
Paste the new code
Paste the new code
  1. Make sure < head> is selected as location, and change the title to Favicon head for example. Now click Publish.
Publish the new code
Publish the new code

Test the favicon of your WordPress website

Congratulations! You installed your own custom favicon on your WordPress website. To make sure everything is setup correctly, you can use the favicon checker from realfavicongenerator.net to check whether everything is working right.

What I have found is that when I used method 1 or method 2 to install the favicon, RealFaviconGenerator didn’t recognize the icons. The reason for this is that RealFaviconGenerator, just like various browsers and search engines, looks for the favicon.ico files in the root of your website. For example jildertholtrop.com/favicon.ico. When using method 1 or method 2, you will not find the files there. You can test this yourself by typing in https://yourdomain.com/favicon.ico in the address bar of your browser.

Frequently Asked Questions

How often should I update my favicon?
Only when you rebrand or change your logo. Otherwise, consistency helps with recognition.
Can I use SVG files as favicons?
Some modern browsers support SVG favicons, but for maximum compatibility, stick with .png and .ico formats.
Why isn’t my new favicon showing in my browser?
Try clearing your browser cache, site cache, and CDN cache if you’re using one. It can take time for changes to propagate.
Why isn’t my new favicon showing in the search results of Google?
Since a favicon should not be changed too often, Google only sporadically re-crawls your website for favicon. It is a matter of patience before your new favicon shows online. Would you like to speed-up the process? Use method 3 to change the favicon on your website.
Why is my favicon not showing in my Search Console Dashboard?
Google only sporadically re-crawls your website for updates in the favicon, so it is only a matter of time. Use method 3 to be fully prepared for the crawlers to scan your website.