Seo Services Blog

SEO Blogging with new face!

Blog SEO Tips - SEO Friendly Titles (H1, H2, H3)

Posted by admin On May - 24 - 2009

Another quiet Sunday in the blogosphere, as usual. This morning I thought about writing another link share post or a WordPress theme recommendation, but later I’ve decided to break the pattern (since it’s all so quiet) and make Sundays the host of a blog SEO tips series. In this first post I’m going to talk about the importance of using SEO friendly titles (H1, H2, H3) and the right way to do so.

Usual Coding Patterns in WordPress Themes

If you’re somewhat familiar with the WordPress themes, and you’ve taken a look at your theme files. Blog pages are provided through a partnership of a few names with standard PHP files (index.php, archive.php, single.php), with different templates issue, based on the type of content.

The index.php file usually means your home page, is also able to substitute any other model that has not already been defined. Therefore, if you do not have a template for the search results (search.php), index files and will make your search results page.

Each of these templates include small pieces of code to create the final result. The most used are header.php, sidebar.php and footer.php.

For now, we will restrict our attention to the following files in the folder of your theme:

  • header.php
  • index.php
  • single.php
  • page.php (not every theme has it)
  • archive.php, search.php (not every theme has them)

Optimizing the Header File

Having your primary keyword present at the top of you page it’s very important.
Considering the fact that most themes come with text based logos instead of graphics, we’ll be looking for the <h1> tag in the header.php file.

If you look at the WordPress default theme will find this piece of code, close to the end of the file:

<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>

The first line displays your blog’s title into a link to the homepage, inside the H1 tag.
The second line displays your blog’s description.

H1 is the most important heading style and the coding recommendations state that only one should be used per page. When talking about a homepage, archive page or search results, it’s best that we optimize these pages according to our main keywords, therefore this H1 tag is required.

But what about on the single post pages? When we display single post, we would want to have their pages optimized according to their content, not the overall keywords of the blog. This is where the H1 should be removed from the header.php file, and placed instead of the H2 surrounding the posts title, to give make it more visible and representative in the eyes of a search engine spider.

How do we do that? First we need to add some conditional tags in the header.
Look for the piece of code that I’ve listed above and replace it with this one:

<?php if(is_single() OR is_page()) {
// On single post pages and static pages we use this code
?>
<h2><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
<?php }
else {
// On home page and archive style pages we use this code
?>
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
<?php } ?>

By using some WordPress conditional tags we managed to limit the use of the H1 HTML tag to all archive style pages (including the homepage).

Next, we move to single posts and static pages to continue our optimization.

Optimizing the Single Posts and Static Pages

After we’ve made the changes in the header file, we need to apply some modifications to the single.php and page.php files to make their titles more search engine friendly.

Open the default theme’s single.php file and look for this piece of code:

<h2><a href="<?php echo get_permalink() ?>" rel="bookmark"
title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

Remember that I’ve told you we are allowed to used <h1> only once per file, for our most important title / phrase. Since we’ve eliminated the use of <h1> on single posts and static pages in the header.php, now, all we have to do is to change <h2> and </h2> with <h1> and </h1>, just like this:

<h1><a href="<?php echo get_permalink() ?>" rel="bookmark"
title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>

There you go, now your most important phrase on a single post page is the post’s title, as it should be!
Most themes don’t come with this type of heading importance separation and by following this guide you’ll be able to fix this issue on your own with no trouble at all.

While the default theme does not have a page.php template defined, you could clone the single.php file and rename it. If you don’t clone it, the index.php file will be used to display static pages, which means you’ll list page titles using the <h2> instead of <h1>.

Consider Using Subheadings in Your Posts

For further SEO improvement, you should consider using relevant subheadings inside your post to evidentiate different parts of your post’s structure.
Write down your article and when you’re finished, switch to HTML view and add <h3> & </h3> around you subheadings, like this:

<h3>This Is a Subheading</h3>

Final Thoughts

Usually, titles are the most important links on your blog. Through them, users and spiders alike navigate through your content. Use them smart and effectively.
If you have any questions or need further help with this, feel free to drop a comment.
Also, join me again next Sunday for a new post in the Blog Seo Tips series.

New layer…

New layer…

Check and improve your WordPress SEO

Posted by admin On May - 24 - 2009

You’ve finally got your WordPress blog online and your hopes up. You’re writing articles and expecting readers to drop-in soon, but time passes and nothing happens. You know your articles are a good reading, so why aren’t readers showing up? That’s because you need to improve your online visibility, your WordPress SEO score.

Let’s say you’ve optimized your home page and/or post page for some keywords, but still search engines refuse to index you higher and searches for those keywords aren’t providing you with any visitors. Most probably, that’s because your content is not relevant in relationship with the provided keywords. At this time, you have 2 choices:

1. Rethink your website’s keyword list and meta tags

Scan through your posts, find the most common and relevant keywords and modify your keywords meta tag accordingly. Use these keywords in the page’s title tag and for the description try to get a small paragraph that uses in a logic and readable way the provided keywords. The closer this description comes to a text paragraph available on the page, the more relevant it will be.

2. Rebuild your most recent content around the old keywords.

This option is the most time-consuming, but if you know you’ve got a good keyword list, with good search engine results (only not for you), then it should worth the effort. Always keep in mind how much competition you have for that keyword list, and how powerful that competition is. Otherwise you’re efforts will be in vain. It’s always better to fight for 1.000 relevant results and get the most of it, that for 10.000.000 results and get none.

Once you’ve done one of the above steps, the best thing you can do is to check the results with one of the following free available online SEO tools:

DomainTools.com - The Whois tool available on this domain provides users with a SEO rating of the queried domain, as well as with a SEO browser to analyze you page from a search engine’s point of view. It also makes suggestions on the things that still need to be done to increase your SEO score.

SEOCentro.com - SEO Centro provides user with a very helpful, free online meta tag analyzer. This way you can learn more about your meta tags, their relevance and also the most popular keywords found in your blog’s content.

There are of course many more online SEO tools, but these 2 should be enough to help you find your way around your blog’s SEO.

VIDEO

TAG CLOUD

Sponsors

About Me

Twitter

    Photos