Back to vBulletin 3.8 Template Modifications

Global rel canonical for vbulletin as vBSEO v1.1 final, remove duplicate content
Mod Version: 1.1, by abdobasha2004

vB Version: 3.8.4 Rating: (3 votes - 5.00 average) Installs: 12
Released: 13 Oct 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

This is a simple mod. to apply https://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html to vbulletin pages.
Presented from : http://www.nmisr.com/vb/

this is applied for : showthread, forumdisplay and forumhome.
Template Edits : 3
Value : SEO value :
1 - Prevent duplicate content
2 - Better page rank assignment to your page as a result

3 steps :
Open vbulletin admin pannel ---> Edit style templates ---> {choose your used style}
then :

1- Find Showthread template, then you have 2 options :
i) include thread pages (if the thread have multiple pages) then Find </head> and before it add :
HTML Code:
<!-- 100fm6.com canonical -->
<link rel="canonical" href="$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]<if condition="$pagenumber>1">&page=$pagenumber</if>" />
<!-- /100fm6.com canonical -->
ii) Include only the first page of threads then Find </head> and before it add :
HTML Code:
<!-- 100fm6.com canonical -->
<link rel="canonical" href="$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]" />
<!-- /100fm6.com canonical -->
2- Find Forumhome template, then Find </head> and before it add :
HTML Code:
<!-- 100fm6.com canonical -->
<link rel="canonical" href="$vboptions[bburl]" />
<!-- /100fm6.com canonical -->
3- Find Forumdisplay, then you have 2 options :
i) include forumdisplay pages (Recommended) then Find </head> and before it add :
HTML Code:
<!-- 100fm6.com canonical -->
<link rel="canonical" href="$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]<if condition="$pagenumber>1">&page=$pagenumber</if>" />
<!-- /100fm6.com canonical -->
ii) Include only the first page of forums then Find </head> and before it add :
HTML Code:
<!-- 100fm6.com canonical -->
<link rel="canonical" href="$vboptions[bburl]/forumdisplay?f=$foruminfo[forumid]" />
<!-- /100fm6.com canonical -->
for better SEO try to make this compatible with sitemap options

For any suggestion, I will be glad to here from you ...
Thanks to FRDS who have made this as a http://www.vbulletin.org/forum/showthread.php?p=1745800

Download

No files for download.

Supporters / CoAuthors

  • FRDS

Similar Mods

Add-On Releases SEOvB - Link Canonicalization for vBulletin Stop Duplicate Content NOW! vBulletin 3.8 Add-ons
Forum Display Enhancements Remove duplicate content due to &order=desc in forumdisplay pages urls vBulletin 3.8 Template Modifications
Show Thread Enhancements rel canonical for showthread as in vBseo v1.0, prevent duplicate content vBulletin 3.8 Template Modifications

vblts.ru supports vBulletin®, 2022-2024