| |  | | vBulletin Setup > vBulletinSetup Information > vBulletin SEO Tips and SEO Questions | vBulletin SEO Tips and SEO Questions Discuss Adding H1 Tags to your Forum and Threads in the vBulletinSetup Information forums; add this to your CSS
Code:
#title
{
font: bold 160% Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0 auto;
padding: 10px 0px 10px 0px;
text-align: center;
}
#desc
{
font-size: ... | |  |
08-01-2006, 11:38 PM
|
#1 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Adding H1 Tags to your Forum and Threads add this to your CSS Code: #title
{
font: bold 160% Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0 auto;
padding: 10px 0px 10px 0px;
text-align: center;
}
#desc
{
font-size: 70%;
font-weight: normal;
text-align: left;
}
and add this under your $navbar on forumdisplay and showthread
code: Code: <h1 id="title">
$foruminfo[title_clean]
<div id="desc">$foruminfo[description]</div>
</h1>
This was posted by TECK
he is very knowledgeable on this subject... |
| |
08-04-2006, 01:55 PM
|
#2 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads vBSEO has a setting like this, but better  , here is a break down
(1) NEW FEATURE: Relevant Replacements - The new relevant replacements feature can be enabled from within your vBSEO Admin CP.
The Relevant Replacements feature is a significant step forward in boosting the relevancy of vBSEO-enabled pages by giving the forum admin the ability to insert combinations (i.e. phrases) containing various highly relevant content anywhere they want in their vBulletin templates. This is a very powerful feature, especially for more advanced SEO professionals. Relevant phrase patterns are created within the vBSEO Admin Control Panel in the " Define Relevant Replacements" section.
The relevant phrase patterns can be constructed using any of the following replacement patterns along with plain text: - [thread_title] - For showthread, showpost, and printthread pages it will contain the title of the thread.
- [forum_description] - For forumdisplay, showthread (etc) pages, it will contain the forum description.
- [forum_title] - For forumdisplay, showthread (etc) pages, it will contain the title of the forum.
- [bb_title] - For any vBSEO rewritten page, it will contain the title of your forum as defined in your vBulletin Admin CP.
- [default_keywords] - For any vBSEO rewritten page, it will contain the basic forum keywords as defined in your vBulletin Admin CP.
- [first_post_X_words] - For showthread, showpost, and printthread pages it will contain the first X words of the actual post. Note: The X is replaced in order to indicate the # of words you want to use in the replacement pattern. Example: [first_post_10_words] would take the first 10 words from the post to be used in the relevant replacement pattern.
The replacement patterns can be used in any combination to construct relevant replacement phrases that will be inserted by vBSEO into any of your templates in which you insert a corresponding comment tag in the format of <!--VBSEO_PHRASE_X-->.
The X is replaced by a # corresponding to the replacement pattern you created in your vBSEO Admin CP. Example: Replacement Patterns
PHP Code: [thread_title] at the [forum_title] within the [bb_title]
[thread_title]: [first_post_10_words] - The [thread_title] at the [forum_title] within the [bb_title] replacement pattern would replace the <!--VBSEO_PHRASE_1--> tag whereever it occurs in any of your templates.
- The [thread_title]: [first_post_10_words] replacement pattern would replace the <!--VBSEO_PHRASE_2--> tag whereever it occurs in any of your templates.
After creating the above replacement patterns, the admin would insert the <!--VBSEO_PHRASE_1--> and <!--VBSEO_PHRASE_2--> tags into their vBulletin templates in *any* place they wish vBSEO to apply the relevant replacement content. Note: We expect you all, with the exception of a few of our vBSEO gurus, to have some questions about this feature. As always, feel free to ask away and the Crawlability team, our moderators, and your fellow vBSEO users will help you to get started! |
| |
08-04-2006, 02:11 PM
|
#3 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads this is what we're using here
forumdisplay Code: <strong>[forum_title] at the [bb_title]</strong> <span class="smallfont">[forum_description]</span><br />
and showthread Code: <strong>[forum_title]</strong> <span class="smallfont">Discuss <em>[thread_title]</em> in the [parent_forum_title] forums; [first_post_20_words]...</span>
and I put this right under $navbar on SHOWTHREAD and FORUMDESPLAY Code: <center><h1><!--VBSEO_RR_1--></h1></center>
here is where you edit in vbseocp rr.jpg
hope that helps the vbseo users |
| |
08-04-2006, 02:13 PM
|
#4 | | vBulletin Owner
Join Date: Aug 2006 Location: L.A. (Lower Alabama)
Posts: 11
| Re: Adding H1 Tags to your Forum and Threads I need to study this a little closer... looks very interesting and obviously would help out our forum. |
| |
08-04-2006, 02:14 PM
|
#5 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads i posted a how to,, u might have been replying while i was posting..
Talk to you later, I'm off to work
one day I'll be able to play with sites all day.. yeah !...heh
ps. by the time we get done with your site, it will be crawling with bots |
| |
08-04-2006, 02:21 PM
|
#6 | | vBulletin Owner
Join Date: Jul 2006 Location: NE Ohio
Posts: 897
| Re: Adding H1 Tags to your Forum and Threads hey I want mine crawling with bots toooooooooooooooooooo
Hi Sonnie! |
| |
08-04-2006, 02:28 PM
|
#7 | | vBulletin Owner
Join Date: Aug 2006 Location: L.A. (Lower Alabama)
Posts: 11
| Re: Adding H1 Tags to your Forum and Threads Hi sweetheart!
I can't wait myself... I'm pretty excited. I'm gonna have a new host and an upgraded site. |
| |
08-04-2006, 02:34 PM
|
#8 | | vBulletin Owner
Join Date: Aug 2006 Location: L.A. (Lower Alabama)
Posts: 11
| Re: Adding H1 Tags to your Forum and Threads Looks like I would need to turn back on my forum description in vb options then add the code to my vbseo. Plus take out the CSS and header tags I inserted in the templates. |
| |
08-04-2006, 07:09 PM
|
#9 | | vBulletin Owner
Join Date: Jul 2006 Location: NE Ohio
Posts: 897
| Re: Adding H1 Tags to your Forum and Threads why do you need to do that? |
| |
08-04-2006, 09:40 PM
|
#10 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads no, you don't need the forum descriptions on
vbseo will do that for you, but we'll talk more about it soon. I just got home and the dog is whining, so I need to take care of here, grab a bite to eat rest, and go to bed to do it agian tomarrow |
| |
08-29-2006, 08:37 PM
|
#11 | | vBulletin Owner
Join Date: Aug 2006 Location: L.A. (Lower Alabama)
Posts: 11
| Re: Adding H1 Tags to your Forum and Threads I noticed I couldn't get an html page I built to validate due to the <div align="center"> tag. I also have a php page I created with an html template in vB that I can't get to validate because of the same reasons. What's the consequences? The page still looks fine in IE and FF.
I'm not having any problems validating <br />. |
| |
08-29-2006, 08:48 PM
|
#12 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads maybe it would help if I knew the URL, is it just the one line that's keeping u from being valid ? |
| |
09-12-2006, 09:09 PM
|
#13 | | vBulletin Owner
Join Date: Sep 2006
Posts: 89
| Re: Adding H1 Tags to your Forum and Threads for myh1... do i need to change the "my" part? |
| |
09-12-2006, 09:17 PM
|
#14 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads you want to use this code Code: <h1 id="title">
$foruminfo[title_clean]
<div id="desc">$foruminfo[description]</div>
</h1>
Teck was correcting what we had posted b4
I'm still learning for others too, I'll update the first post to note this |
| |
09-13-2006, 05:33 AM
|
#15 | | vBulletin Owner
Join Date: Sep 2006
Posts: 89
| Re: Adding H1 Tags to your Forum and Threads Sorry... Im not too sure if I understand. the myh1 part, the "my" needs no changes? |
| |
09-13-2006, 10:35 AM
|
#16 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads since your using vBSEO I'd check out post #2 and #3
vbseo has a much better feature then the other coders here..
and I'll clean this thread up to remove the old code.. it will ease the confusion. |
| |
09-17-2006, 05:16 PM
|
#17 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads I cleaned up this thread so its easier to understand |
| |
10-11-2006, 04:49 PM
|
#18 | | vBulletin Owner
Join Date: Sep 2006 Location: Texas
Posts: 207
| Re: Adding H1 Tags to your Forum and Threads I am using this hack on my brand new forum. Let's see how it goes. |
| |
10-11-2006, 05:16 PM
|
#19 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads It should help out better then stock
I'd look at time2dines post if you really want to set things up to optimize the header tag |
| |
10-11-2006, 06:06 PM
|
#20 | | vBulletin Owner
Join Date: Sep 2006 Location: Texas
Posts: 207
| Re: Adding H1 Tags to your Forum and Threads What do you think? Hero Lounge |
| |
10-11-2006, 06:14 PM
|
#21 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads nice looking site
the tags from this thread look good to
I'd check out the "make your welcome message an image" thread here |
| |
10-15-2006, 10:40 PM
|
#22 | | vBulletin Owner
Join Date: Sep 2006 Location: Texas
Posts: 207
| I mod'ed this hack I have added this hack onto the $navbar template, BEFORE the breadcrumb path. In my opinion, it looks much better.
I also edited the hack because I use pictures in the description, and I wanted to save some space. This picture shows that the clean title is UNDER the description.
in $navbar Code: <if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<H1 id="title">
<div id="desc">
$foruminfo[description]</div>
$foruminfo[title_clean]
</h1>
</td>
</tr>
</table>
</if>
in CSS Code: #title {
font: bold 160% Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0 auto;
padding: 0 10px;
text-align: left;
color: #212EC7;}
#desc {
font-size: 50%;
font-weight: normal;
text-align: left;
color: #000000;}
Last edited by RedMatrix; 10-15-2006 at 10:42 PM.
|
| |
10-16-2006, 05:13 AM
|
#23 | | Community Manager Supporters vBulletin Owner vBSetup Mods
Join Date: Jul 2006 Location: Topeka, KS
Posts: 14,104
| Re: Adding H1 Tags to your Forum and Threads thanks for the code
ya, I like the look in the navbar better also. it's whats recommended at time2dine's site.. Search Engine Optimize vBulletin 3.5-SEO vBulletin-Time2Dine Forum |
| |
11-06-2006, 06:20 PM
|
#24 | | entrepreneur
Join Date: Nov 2006 Location: Errachidia-Morocco
Posts: 31
| Re: Adding H1 Tags to your Forum and Threads what it H1 Tags ?! |
| | |