One of the minor problems with WordPress from an SEO point of view is the set up of the H1 and H2 tags on individual blog pages.

On individual pages the title of your blog post will be in a H2 tag. Really you want your title of your post to be in a H1 tag. To add to that your theme may also contain a blog title in a H1 in the header, which means duplicated H1 tags on individual pages.

matt-cutts-h1-h2

Something like this isn’t going to cause a detrimental effect to your sites progress in the rankings, but having your title in a H1 tag may help you rank slightly higher in the search engine result pages.

So whats the change?

Step 1 – Make the blog title only a H1 on the home page.

Some people have recommended pasting the header.php into the home page of the site, index.php (sometimes home.php depending on your theme). You then edit the header.php for the inner pages making the blog title H1 a span (plain text). Then edit the code added to index.php for the home page, keeping the blog title as a H1. This method means that you have two headers, meaning double editing for the future.

A cleaner method is to keep the architecture and have a conditional check.

If home page
H1 blog title
else
Span blog title

Replace the code from the header.php with something like this.

A UK SEO

Just style the span up the same as the H1

Step 2 – Change the post title on the individual pages from a H2 to a H1

The code in the single.php is change from

Change blog title and post title tags in WordPress

To this;

Change blog title and post title tags in WordPress

Thats it, now you’ll have have slight stronger WordPress Blog with a blog title only in a H1 on the home page and post titles on individual pages in H1’s.

If you’ve seen another way post it in the comments below.

Welcome to SEO-4-Free a brand new SEO blog based in the UK. Over the next few weeks the site will be developed, then I’ll start to post and explain the purpose of the site.

To start off a quick list of the work done so far.

  • Domain purchased form 123-Reg
  • Hosting purchased from www.streamline.net the power user package ¬£47.98 for two years (Then realised if you sign up for a power user package you get a free domain so didn‚Äôt really need to buy the domain from 123-reg)
  • Stuck up a holding page on the root
  • Installed WordPress 2.6.2
  • Installed the Publicizer theme
  • Validated the theme and changed a few bits and bobs.

I’ll keep on updating with the next post about plugins installed on the blog.