How to remove “Blog Archive” from your Wordpress post title
October 16th, 2007 | by HowToGuru |The Title section in Header.php contains the codes which displays your Wordpress title. This is important because search engine listings will display your post title followed by a description of your post. I began to notice that all of my listings had the words Blog Archive in them which was unneccesary and caused part of the titles displayed to be cut off.

To remove the words Blog Archive, do this:
- Log into your self hosted Wordpress blog and click Presentation
- Click on Theme Editor
- On the right handside of your browser window, select Header from the list of theme files
- Look for this line of code just a few lines from the top.
<title><?php bloginfo(’name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
- Remove this section => <?php if ( is_single() ) { ?> » Blog Archive <?php } ?>
The remaining portion should look like this:
<title><?php bloginfo(’name’); ?> <?php wp_title(); ?></title>
- Click Update File to save the file.
Tags: Blog Archive, Wordpress











16 Responses to “How to remove “Blog Archive” from your Wordpress post title”
By Mike on Oct 26, 2007 | Reply
Cheers mate! I only picked this up once I decided to try a quick Google search on one of my posts.
What I did notice though, is that it still appends a >> between the name and the title. Is there a way of removing that? eHowToGuru has the same thing:
eHowToGuru >> How to remove…
By HowToGuru on Oct 26, 2007 | Reply
Here’s how to remove the >> or » from your blog title:
- Go to your wordpress installation directory, and under wp-includes located the file general-template.php
- Look for the function name wp_title and change the separator as follows:
- Instead of : function wp_title($sep = ‘»’, $display = true) {
Use this: function wp_title($sep = ”, $display = true) {
By Arne on Nov 12, 2007 | Reply
Awesome! Thanks a lot for the guidance.
By Zach on Dec 24, 2007 | Reply
Thanks! I just implemented it on my own site after noticing that just like yours, Google was segmenting my titles. Great fast fix; thanks for the heads up!
By Kathy on Jan 2, 2008 | Reply
Eternally grateful for this! I asked this question of some people I thought might know how to remove the text, but nobody knew. This is exactly what I needed.
By pinkco on Jan 23, 2008 | Reply
HI, thanks a lot for this. It really helped me out!
By Rachel Green on Mar 14, 2008 | Reply
Thanks. you explained it very easily. I was browsing around for hours, but could not do so. Your post is quite simple and useful
By Scandy on May 2, 2008 | Reply
Thanks! That worked perfectly!
By Natural on May 2, 2008 | Reply
thanks a bunch and thank kathy up top for zooming this post. i never would have found it.
By Natural on May 2, 2008 | Reply
wp_title($sep = ‘ ‘, $display = true) {
i had to use this instead
thanks though. it helped a lot.
By Rich on Jun 12, 2008 | Reply
Handy!
By liam on Jul 25, 2008 | Reply
Wow, thanks just what I needed!
By Coupons on Aug 30, 2008 | Reply
Thanks to the article, Now there is more reason to comment than ever before! Good post… I found it via Google. They most love you!