The Arcive of vBulletin Modifications Site. |
|
Global rel canonical for vbulletin as vBSEO v1.1 final, remove duplicate content Details »»
|
|||||||||||||||||||||||||||
|
Global rel canonical for vbulletin as vBSEO v1.1 final, remove duplicate content
Developer Last Online: Sep 2019
This is a simple mod. to apply rel="canonical" 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 product Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||||
| Благодарность от: | ||
| fariborz khan | ||
| Comments |
|
#2
|
|||
|
|||
|
This is duplicate content already.
https://vborg.vbsupport.ru/showthread.php?t=225080 |
|
#3
|
||||
|
||||
|
nope
it is version 1.1 it is now for all pages : threads, forum main and forums |
|
#4
|
||||
|
||||
|
So, is this one the best option or the other one?
|
|
#5
|
|||
|
|||
|
Obviously this one, it even says on previous version "better" one (on a link to this one)
What are bad(if there are any) and what are good sides of this mod, please elaborate a bit I mean this code looks pretty much simple even for me as a noob here, why vb wouldnt have such a thing by default? Thanks |
|
#6
|
|||
|
|||
|
The "include pages" variants don't validate as XHTML 1.0 Transitional.
This can be fixed using & instead of & |
|
#7
|
||||
|
||||
|
Thanks
|
|
#8
|
||||
|
||||
|
Quote:
Quote:
Quote:
Code changed .... |
|
#9
|
|||
|
|||
|
does this mod work for TFseo as well as for vbseo?
|
|
#10
|
||||
|
||||
|
Quote:
and vbseo has it already in the latest version |
![]() |
|
|