Development Programming

How to add a favicon to your wordpress website

Coming from my previous post about creating favicons (found here), I found a great way to make your wordpress blog use your newly made favicon!

With an FTP Client, upload the new favicon.ico file into your current theme’s main folder.
Upload another copy of your favicon.ico file to the main directory of your site (ie. This will display the favicon in your subscribers’ feedreaders.

In order for your favicon to show up in some older browsers, you will need to edit your page header.

Go to your WordPress Administration Panel.
Click on Design (called Presentation in WordPress 2.3.x and below, and Appearance in WordPress 2.7+).
Click on Theme Editor.
Select the file called Header or header.php to edit the file.
Search for the line of code that begins with . Overwrite it, if it exists, or add the following code below the HTML tag.

Save the changes.

To see your new favicon, clear your browser’s cache (hold shift, and press F5). You may need to restart your browser in order to see the new favicon.

One reply on “How to add a favicon to your wordpress website”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.