Global rel canonical for vbulletin as vBSEO v1.1 final, remove duplicate content
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 --> HTML Code:
<!-- 100fm6.com canonical --> <link rel="canonical" href="$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]" /> <!-- /100fm6.com canonical --> HTML Code:
<!-- 100fm6.com canonical --> <link rel="canonical" href="$vboptions[bburl]" /> <!-- /100fm6.com canonical --> 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 --> HTML Code:
<!-- 100fm6.com canonical --> <link rel="canonical" href="$vboptions[bburl]/forumdisplay?f=$foruminfo[forumid]" /> <!-- /100fm6.com canonical --> 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
|
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 |