Results 1 to 8 of 8

How to use H1 tags on a forum site?

This is a discussion on How to use H1 tags on a forum site? within the General Discussion forums, part of the vBulletin SEO Discussion category; I have read that H1 tags are effective in increasing PR . How would one insert H1 tags to do ...

  1. #1
    Senior Member
    Real Name
    len backus
    Join Date
    May 2007
    Posts
    127
    Liked
    0 times

    How to use H1 tags on a forum site?

    I have read that H1 tags are effective in increasing PR. How would one insert H1 tags to do this?
    LenBackus


  2. #2
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    I inserted H1 tags around the thread title in the navbar breadcrumb code on CWE (see source code for any thread on the site in my sig). I added H2 tags around post titles too.
    I'm using vbSEO for my precious metals forum.

  3. #3
    Senior Member
    Real Name
    len backus
    Join Date
    May 2007
    Posts
    127
    Liked
    0 times
    Bernard, that's exactly what I am looking for! Can you tell me which template and where to put this code, please?
    LenBackus


  4. #4
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    In navbar:
    Code:
    ...
    <!-- breadcrumb, login, pm info -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="alt1" width="100%">
    		<if condition="is_array($navbits)">
    			<table cellpadding="0" cellspacing="0" border="0">
    			<tr valign="bottom">
    				<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
    				<td>&nbsp;</td>
    				<td width="100%"><span class="navbar"><a href="http://www.coping-with-epilepsy.com/forums/$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
    			</tr>
    			<tr>
    				<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><h1 style="font-size:10pt;"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></h1></td>
    ...
    In postbit:
    Code:
    ...
    	<!-- message, attachments, sig -->
    	
    		$template_hook[postbit_messagearea_start]
    		
    		<if condition="$show['messageicon'] OR $post['title']">
    			<!-- icon and title -->
    			<!-- <div class="smallfont"> -->
    			<h2 class="smallfont">
    				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
    				<if condition="$post['title']"><strong>$post[title]</strong></if>
    			</h2>
    			<!-- </div> -->
    			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
    			<!-- / icon and title -->
    		</if>
    ...
    I'm using vbSEO for my precious metals forum.

  5. #5
    Senior Member
    Real Name
    .
    Join Date
    Jul 2006
    Posts
    386
    Liked
    3 times
    Blog Entries
    1
    You could also use Relevant Replacements and have h1 and h2 tags within it. I think that's the preferred way of doing it around here.

  6. #6
    Senior Member
    Real Name
    len backus
    Join Date
    May 2007
    Posts
    127
    Liked
    0 times
    jbartle, thanks. Could you explain what that means and how to do it, please.
    LenBackus


  7. #7
    Senior Member
    Real Name
    John
    Join Date
    Dec 2005
    Posts
    762
    Liked
    30 times
    This is what I did in my postbit:
    Code:
                    <td>
                        <if condition="$post['title']"><if condition="!$GLOBALS['FIRSTPOSTID']"><h1 class="headertext1">$post[title]</h1><else /><h2 class="headertext2">$post[title]</h2></if></if>
                    </td>
    Then in "Additional CSS Definitions" I added:
    Code:
    .headertext1
    {
    font-size: 120%;
    margin: 0;
    }
    
    .headertext2
    {
    font-size: 90%;
    margin: 0;
    }
    This is very effective and clean. I made sure to check "Yes, Click Required" under "Message Posting and Edition Options so every post has "RE: THREAD_TITLE"

  8. #8
    Senior Member
    Real Name
    Nick Le Mouton
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    422
    Liked
    15 times
    Quote Originally Posted by len backus View Post
    I have read that H1 tags are effective in increasing PR. How would one insert H1 tags to do this?
    I know I'm being picky, but it doesn't increase PR (page rank), but keywords within h1 tags are treated as being important by search engine spiders. Google page rank calculation has to do with inbound/outbound links rather than content on the page (in general).

Similar Threads

  1. Search tags on forum home ..
    By coffee in forum Sitemap Features Archive
    Replies: 5
    Last Post: 11-08-2007, 04:17 PM
  2. H1 and h2 tags in my forum
    By Salva87 in forum General Discussion
    Replies: 0
    Last Post: 08-19-2007, 01:00 PM
  3. Forum Name in Meta tags?
    By SirTalksalot in forum General Discussion
    Replies: 0
    Last Post: 01-22-2007, 05:01 PM
  4. 2 description tags at forum pages
    By porschinho in forum Bug Reporting
    Replies: 3
    Last Post: 10-05-2005, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •