SEO Experiment with Tags continued

Last week I wrote an article on how to improve search engine ranking with tags, and as an example I used the tag 'fresh yogurt drinks' in the post.

Only few days after, the tag page is ranking on first page of Google for 'fresh yogurt drinks', although the tag page itself does not contain any mention of the word at all. It ranks purely based on title and URL.

Based on a smart note from Ivan, I decided to even more enhance the tag page by adding more 'fuel to the fire'.

Let's add a H1 heading with the tag name on the tag page. This is done very easily in WordPress by editing archive.php file of theme. Before the line that reads "if (have_posts())" you should add this:

<?php 
$current_tag = single_tag_title("", false); 
if ($current_tag) echo '<div class="tagarchive"><h1>'.ucwords($current_tag).'</h1></div>';
?>

Smart and easy optimization. Just the way I like it.

Related Articles:


Posted in: SEO
TAGS:, , , , , , , , , , , , , , ,
leave a comment.

Comments:

18 Comments

  1. Sanix
    Dec 12th, 2010

    Great. Just implemented this on Amazing Grace theme. Here's the code that I added to my index.php file:

    <?php
    $current_tag = single_tag_title("", false);
    if ($current_tag) echo ''.ucwords($current_tag).'';
    ?>

    This should be added just after

    If I want to do the same for my categories, what will be the code?

    And if we implement it on our posts also, getting the search term and marking it as H1, will it help in rankings? I doubt it because it will be dynamic?

  2. Website Management
    Nov 26th, 2010

    Great post, thanks for the code snippet. For anyone using H1 tags just beware not to style the font too small as Google takes this into consideration when calculating it's worth.

  3. ChrisCD
    Sep 25th, 2009

    Just had to say thank you. My theme isn't as organized, but I'm figuring it and hope to have the Tag changes implemented soon. I also always had our company name with tags. I like your idea of having the post title or tag title be or depending on the page type.

  4. Erick
    Apr 13th, 2009

    Hi Vlad!
    Hats off! Two thumbs up!
    Than you very much!

  5. Erick
    Apr 10th, 2009

    Hi Vlad,
    Is it okay to change the single_tag_title into multiple_tag_title?
    Just thought of it.
    Thanks

  6. Mar 19th, 2009

    Its applicable to any theme.

  7. Tony@WordPress Views
    Mar 19th, 2009

    Does this trick only work with the AG theme or would it work with any WP theme?

  8. SEO Link Building Software
    Mar 16th, 2009

    A true tip. 20-25% percent of a pages rankings depend on the title tag, as far as onpage optimization. H1 tag puts it in alignment and helps it out as added "fire". Thanks for the tip and wordpress code.

  9. Mar 15th, 2009

    Right, fixed the typo :)

  10. Rui
    Mar 7th, 2009

    Excuse me, ExpIREment or ExpERIment?

  11. Mankosas
    Feb 12th, 2009

    Wonderful insight. Never thought that tags has so musch power in SEO.

  12. AdJingo
    Feb 11th, 2009

    We need more of these 'experiment' posts :)

  13. Miclee
    Feb 5th, 2009

    Proven technique!! I like and apply this to my blog..U made it man..! "Fresh Yogurt Drinks" rank in 1st page on Google and , Yahoo!

    Miclee

  14. Simon
    Feb 1st, 2009

    Interesting thought, just changed the h2 tags from category and tag archives to h1. I'm sure this will help =O)

  15. SEO-Software
    Jan 31st, 2009

    thank you very much for share all these tips .

  16. Leanne Boyd
    Jan 29th, 2009

    This is SO cool! I changed the H1 font color so it stands out as a Tags header... seriously cool. Now to go re-research some more long tail key phrases... woo-whooo! Vlad you are my guru.

  17. Ivan | SEO Irish Blogger
    Jan 29th, 2009

    Thanks for the link Vladimir!!!!

  18. John
    Jan 29th, 2009

    Thanks and keep the sharing all these great tips.

Have your say

Your email is never published nor shared. Required fields are marked *

*
*

Subscribe without commenting

About

vladimir prelovac Vladimir Prelovac is CEO of Prelovac Media, a computer engineer by profession and an adventurer by state of mind. more +


"I would love to change the world, I just don't have the source code yet."

Services

Manage multiple WordPress sites

Built for WordPress enthusiasts, ManageWP helps you manage all your WordPress sites from one central location.

Books

WordPress Plugin Devleopment Book Read my book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon.