GICT knowledge base
How to Create a Favicon for Your WordPress Blog
Published
A favicon, short for ‘favourites icon,’ is the small icon which appears beside a Web address in your browser, and it also appears beside saved bookmarks. A favicon helps to identify your website and your brand, and adding one to your WordPress blog provides a small but meaningful visual representation of your online presence. A favicon will often be a brand logo or anything else which you regularly use to for identifying your various online resources. You can create a favicon in most graphic design and editing programs, and in order for it to be displayed correctly, it should be 16×16 pixels and saved as favicon.ico. While there are various plugins which allow you to easily add a favicon for your WordPress blog, manually creating one is also a fairly straightforward process.
- Using an FTP client (most hosting companies provide a Web-based one which should be accessible from your account page), upload your favicon.ico file into the folder of your current theme. This folder will be located in wordpress\wp-content\themes.
- Upload another copy of your favicon.ico file to the root directory of your FTP server, since this will allow the icon to appear in RSS feeds for your blog.
- Log in to your WordPress administrator dashboard and navigate to Appearance > Editor to edit your current theme.
- Locate the Header template in the sidebar to the right and click on header.php.
- Search for the line of code beginning with <link rel=”shortcut icon”. If this line does not exist, then add it just beneath the <head> HTML tag near the top of the page. Edit or enter the code so that it looks like this:
<link rel=”shortcut icon” href=”<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico” /> - Click “Update File” to save your changes.
- If you change your theme, you will need to repeat the above steps while also remembering to upload a copy of your favicon.ico file to the root directory of the new theme.
- If you want to have a favicon with a transparent background, you will need to use the PNG format and save your file as favicon.png.
- If you prefer to use a plugin rather than using the manual method detailed above, you can do so using All in One Favicon, Multicons or Captain Favicon among others.
Related guides
7 Common Hosting Mistakes Beginners Make (And How to Avoid Them)
7 common hosting mistakes beginners make in 2026: no backups, ignored updates, bad host choice, weak passwords, single point of failure, no staging. With fixes for each.
WordPressWebsite Migration Backup Checklist: What to Save and How to Test
Prepare a website migration backup: inventory files, databases, email and DNS, check archive integrity, test recovery and plan a safe final synchronization.
WordPressCore Web Vitals in 2026: A Practical Fix Guide for Site Owners
Core Web Vitals 2026: practical fixes for LCP, INP, and CLS. Real root causes, what to measure, common misconceptions, and a priority order of fixes for site owners.
WordPressFixing the WordPress “Death Loop”: When Missing Files slow down your site
You’ve just launched your new WordPress site or pushed a big update. In your staging environment, everything ran perfectly.
