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.
See also:
Posted in: SEO
TAGS:add class tag, prelovac seo experiment tags, seo case study, seo experiment, seo link, tag experiment, tag placement seo, tagged page, tags experiment, tags page, tags seo, title tag themes seo, vladimir seo, vladimir seo tags, wordpress seo 2009, wordpress ucwords title
Hi! My name is 
16 Comments
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.
Hi Vlad!
Hats off! Two thumbs up!
Than you very much!
Hi Vlad,
Is it okay to change the single_tag_title into multiple_tag_title?
Just thought of it.
Thanks
Its applicable to any theme.
Does this trick only work with the AG theme or would it work with any WP theme?
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.
Right, fixed the typo :)
Excuse me, ExpIREment or ExpERIment?
Wonderful insight. Never thought that tags has so musch power in SEO.
We need more of these 'experiment' posts :)
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
Interesting thought, just changed the h2 tags from category and tag archives to h1. I'm sure this will help =O)
thank you very much for share all these tips .
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.
Thanks for the link Vladimir!!!!
Thanks and keep the sharing all these great tips.