WP SEO Header Hack!

This is a very simple wordpress hack that greatly improves your indexing. By default wp pages are arranged with the blog’s title first, then the post title in the header. So it would look like this on a browser, Your Blog Title - Post title

After the simple hack, it would look like this, Your Post Title - Blog Title. (Much better!)

The advantage is it’s obviously better to have a unique title first rather then the same blog title, this improves your indexing when you get spidered.

All that is required is to hack your header file.

With WP 1.5your header.php file and find this line near the top,

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

you can change this any way you want, the idea is to make the post title appear before the blog name.
here is one alternative,

<title><?php wp_title(); ?> <?php bloginfo(’name’); ?> Resource Center </title>

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

-->



Army Of Blogs Resource Center Sitemap