Enter your email address:


Delivered by FeedBurner
Nov
11th

H1 tags for Post Title and better SEO

Author: admin | Files under SEO tips

H1 tags for WP post titleOptimizing your WordPress blog for SEO is a long process. There are so many ways to do this but all these methods should make an impact on every blog. I cannot say that everyone but people do not pay enough attention to the tags.

I’ve been spending hours and hours trying to find a way to get the post title to be the h1 and not the blog title for my blog. There is something you should know before starting that h1 tags should appear only once per page. I do not know why but programmers use h2 tags for post title and why they do not include the correct use of tags. People need really to understand how to use properly h1 tags so I will try to show you how to make h1 tags for post title.

You need to edit single.php script. To do this go to WP admin/Presentation/Theme editor and choose single post. You should find something similar to this line

<h1><a href=”<?php the_permalink(); ?>” title=”<?php the_title(); ?>”><?php the_title(); ?></a></h1>

but there should be h2 instead of h1 tags. Just replace h2 with h1 and save this file. Your are done with this file but the last thing you need to do is edit style.css (stylesheet).

To do this in your style.css find something similar to this:

}

h1{
font-family: Arial, Sans-serif;
font-size: 18px;
padding: 0 0 10px 0;
}

Your WordPress blog needs this to have proper design. Just play with the font-size. I’ve had 24px so changed it to 18px to look correctly. It’s up to you. To check for the H1 tag, simply right click on your page and view the source. You should find the h1 tag wrapped around your titles. You can find more tips to optimize a blog for SEO.

Related posts:

  1. Do you get an error 404 after clicking on any post?
  2. Robots meta Wordpress plugin
  3. How important is Blog title?
  4. How to align two objects in same line?
  5. 37 tips to increase PageRank

Post a Comment