| Subcribe via RSS

WordPress Title Tag Fix for SEO

October 22nd, 2008 Posted in Tutorial

I have been reading “Building Findable Websites” by Aarron Walter over the past few weeks. I have been mulling over the concepts and adding features to my own sites as quickly as I can. One of the things that really bugged me about WordPress is the <title> tag used by many of the themes.

For example, the title for this page used to be:

Office Cafe » Blog Archive » WordPress Title Tag Fix for SEO

But a better title is:

WordPress Title Tag Fix for SEO | Office Cafe

I agree with Aarron that it needs to be changed. Fortunately, Christopher Ross published a very easy fix to this problem on his website!

Simply change the <title> tag (found in header.php) to this:

<title><?php wp_title(”); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> | <?php } ?> <?php bloginfo(’name’); ?></title>

Read more here: WordPress SEO Tips - The Title Tag

I will be implementing this on my WordPress sites immediately! Thanks Christopher!

Tags:

Leave a Reply