Get rid of the “Blog Archive” text from your WordPress post

Have you ever noticed that if you search for pages from your site in Google you see the words “Blog archive” splitting your title from your page description?

After looking through all the menus in the wp-admin screen I found that in actual fact you need to edit the header.php file to do this. The solution is simple, as follows:

1. Edit the header.php file (either in a text editor or in the presentation area of the admin menus)

Look for the following code:

<title><?php bloginfo(’name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

2. Remove the red section.

3. Upload the file, or click “update” if you did it in the wp-admin menu.

That gets rid of the “Blog Archive” text and Google should now show more of your title as there is more room!

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *