vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Make category and forum headings for your board

This is a discussion on Make category and forum headings for your board within the Template Modifications forums, part of the vBulletin SEO Discussion category; Well pretty simple and effective way to give more structure to your forums, adding heading tags is known to help ...

Go Back   vBulletin SEO Forums > vBulletin SEO Discussion > Template Modifications

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-29-2005, 05:13 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Lightbulb Make category and forum headings for your board

Well pretty simple and effective way to give more structure to your forums, adding heading tags is known to help get your pages ranked better and more effective. I for one have experienced a better ranking for my 2 websites after adding these. Ideal I think, is making your logo H1 like on this board, with the best keyword for your site and using H2 for your navbar and categories/forums. Optional H3 for subforums. Example: fitness and bodybuilding chat

Important: add this CSS to your styles first!

Quote:
.h2forum {
font: bold 1em verdana, arial, helvetica, sans-serif;
margin: 0;
display: inline;
}
Change the font size or use px whatever you like.


In forumhome_forumbit_level1_nopost
****************************

FIND:

PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a
REPLACE WITH:

PHP Code:
<h2 class="h2forum"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></h2
In forumhome_forumbit_level1_post
****************************

FIND:

PHP Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a
REPLACE WITH:

PHP Code:
<h2 class="h2forum"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></h2
Now do the same thing for level 2 but add a &nbsp; after <if condition="$show['browsers']">

Done!

Last edited by dutchbb; 01-28-2007 at 07:43 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 12-29-2005, 06:01 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Michael
Join Date: Oct 2005
Posts: 1,681
Blog Entries: 1
Re: Make category and forum headings for your board

What is going into that heading when you click on threads?

I can tell when you click on a forum that the forum description goes in there.

I cant tell what is getting placed in there when you click on a thread though.

vBulletin has a stock setting that puts the forum title and description throughout all the threads, similar to this, but not sure if it is using h2 or not.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 12-29-2005, 06:37 PM
Michael's Avatar
Senior Member
vBSEO Pre-Release Team
 
Real Name: Michael Benson
Join Date: Sep 2005
Location: United Kingdom
Posts: 778
Send a message via AIM to Michael Send a message via MSN to Michael
Re: Make category and forum headings for your board

Quote:
Originally Posted by sportsoutlaw
What is going into that heading when you click on threads?

I can tell when you click on a forum that the forum description goes in there.

I cant tell what is getting placed in there when you click on a thread though.

vBulletin has a stock setting that puts the forum title and description throughout all the threads, similar to this, but not sure if it is using h2 or not.
I believe the only difference is the fact that a <h2> tag has been applied to individual forum titles for SEO purposes. The destination URL appears the same and there isnt any additional definitions with the <a> tag such as a title attribute either so i believe just adding in a customized, more visually appealing H2 tag.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 12-29-2005, 06:54 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Michael
Join Date: Oct 2005
Posts: 1,681
Blog Entries: 1
Re: Make category and forum headings for your board

If you are unable to create an h1 tag in your logo, would it be ok to make this "h1" ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 12-29-2005, 07:03 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Re: Make category and forum headings for your board

h1 is more important than h2, so if you have a board about basketball I would place that word in h1 and place a section like 'events' in h2, a subsection events > '2006' could go in <h3> and so on...

Personally I don't like the H1 used too mutch, it's for main topic(s) on a page and should be used that way.

Last edited by dutchbb; 12-29-2005 at 07:16 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 12-29-2005, 07:12 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Michael
Join Date: Oct 2005
Posts: 1,681
Blog Entries: 1
Re: Make category and forum headings for your board

Yes, but the way it stands right now, I dont have an h1 at all on my forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 12-29-2005, 07:18 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Re: Make category and forum headings for your board

You can place the vbulletin categories in h1, and the forums in h2

cats are forumhome_forumbit_level1_nopost and forums are forumhome_forumbit_level1_post

the same for level 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 12-29-2005, 07:41 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Michael
Join Date: Oct 2005
Posts: 1,681
Blog Entries: 1
Re: Make category and forum headings for your board

Ok, I added this, and nothing changed

Where did you add the CSS? in the first or second box?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 01-02-2006, 01:58 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Re: Make category and forum headings for your board

Second, doesn't matter though as long it's there
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-04-2006, 06:11 AM
eJM's Avatar
eJM eJM is offline
Senior Member
 
Real Name: Jim McClain
Join Date: May 2006
Location: teh Ether
Posts: 255
Re: Make category and forum headings for your board

Dutch, I hope you're still around. I think this can be a little simpler.

Your code:
Code:
.h2forum {
font: bold 13px verdana, arial, helvetica, sans-serif; 
margin: 0;
display: inline;
}
Can be reduced to:
Code:
h2 {
font: bold 13px verdana, arial, sans-serif; 
margin: 0;
display: inline;
}
Any <h2></h2> will be affected by this, so there is no need to add the class= to your markup. Of course, if you use different settings throughout your site for the <h2>, you may want to keep it the way you had it, but the <h2> should be consistent throughout your site, as should all the headings. I also removed the font helvetica. There isn't a computer around that won't have either the verdana or arial font and if there is, then any sans-serif will suffice. It saves space.

Now you can put a <h2></h2> anywhere and not have to mark it up. Do the same in decreased font sizes for <h3> and <h4> and do one in a larger font for <h1> You may find a situation that calls for a <h4> in a smallcaps font or something. You never know.
__________________
an eJM site: The Floor Pro Community
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 07-04-2006, 07:10 AM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Re: Make category and forum headings for your board

Yeah but I have other H2's that need to be bigger, like the topic title, I use H1 in my logo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:28 AM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.