Using Heading Tags To Increase On Page Optimization
Making use of <h2> through <h6> tags on your page will build a solid page structure and inform the spiders of the most important content sections, followed by sections which may not be so important. When a crawler comes across content in the <h2> tags it naturally thinks to itself, that whatever is between those tags, the page should generally be about. Concidently when you have a properly written page title for search engine optimization, the h2 tags will also contain many of the same keywords.
Placing the h2 and h3 tags on your vBulletin page is as simple as pie. Unless you can’t cook, but its still fairly simple and straight forward. We assume that you have a basic knowledge of how to modify your templates, and if not, now would be a good time to check out the vBulletin Manual on how to do so.
On your showthread template, after $navbar place the following code:
<div style=”text-align:center”>
<h2 class=”seovb2″>$thread[title_clean]</h2>
<h3 class=”seovb3″>Discuss $thread[title_clean] at $foruminfo[title_clean]</h3>
</div>
For your forumdisplay template place the following code after $navbar:
<div style=”text-align:center;”>
<h2 class=”seovb2″>$foruminfo[title_clean]</h2>
<h3 class=”seovb3″>$foruminfo[description]</h3>
</div>
The final step, is so you can apply styling to the tags, to better match your page style, and hopefully not take as much space up, in your additional CSS definitions place:
h2.seovb2 {font-family: Arial; font-size: 20px; color: #000000; font-weight: bold;}
h3.seovb3 {font-family: Arial; font-size: 16px; color: #000000; font-weight: bold;}
By doing this, you’re placing your forum keywords on the page along with the description, and for the showthread pages it should place the thread title and forum above the fold and in a easy location so the cralwers know what the page is about.



9 Comments
November 26th, 2008 at 3:22 am
hey.. this tricks sounds fine… but i m having trouble with one temp modification…. which is showthread… coz when i view my thread i get even get thread title on top it just display the forum name and a broken page.
November 26th, 2008 at 3:28 am
here is the screeen shot of ma issue
http://img296.imageshack.us/img296/5633/86053841op9.jpg
November 27th, 2008 at 9:38 am
Hi Don,
Try adding class=”page” to the div at the start
< div style=”text-align:center;” class="page" >
Let me know how that works, if it doesn’t, I’ll find another solution for you.
December 1st, 2008 at 8:43 am
David, does this duplicate what I have already done with vBSEO’s Relevent Replacements?
December 1st, 2008 at 8:46 am
Hi Len,
Yes this will basically be the same as using relevant replacements from vBSEO. So if you are making good use of those, then applying these changes would just be redundant.
Thanks
-Dave
December 14th, 2008 at 3:25 am
I just used this part of the code:
$thread[title]
(and had to change [title_clean] to just [title] to get it to show up
In the box for the Additional CSS Definitions, I added:
h2.seovb2 {font-family: Arial; font-size: 12px; color: #000000; font-weight: bold;}
I changed the 20px to 12px, but it still showing up as 20???
Any ideas?
BTW – this mod is awesome!
December 14th, 2008 at 3:27 am
Whoops,… should have said:
I only used this part of the code:
$foruminfo[title]
December 14th, 2008 at 4:07 am
OK, its not letting me post the code, so will edit it:
div style=”text-align:center;”
h2 class=”seovb2?>$foruminfo[title] /h2
January 28th, 2009 at 11:16 am
Hello,
Why you does’t mention the H1 Tag?