Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
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
Mod Version: 1.1, by abdobasha2004 (Member) abdobasha2004 is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

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

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 :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ii) Include only the first page of threads then Find </head> and before it add :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2- Find Forumhome template, then Find </head> and before it add :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3- Find Forumdisplay, then you have 2 options :
i) include forumdisplay pages (Recommended) then Find </head> and before it add :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

ii) Include only the first page of forums then Find </head> and before it add :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 product

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases SEOvB - Link Canonicalization for vBulletin Stop Duplicate Content NOW! SEOvB vBulletin 3.8 Add-ons 60 05 Jan 2016 16:10
Forum Display Enhancements Remove duplicate content due to &order=desc in forumdisplay pages urls abdobasha2004 vBulletin 3.8 Template Modifications 24 15 Aug 2014 18:49
Show Thread Enhancements rel canonical for showthread as in vBseo v1.0, prevent duplicate content abdobasha2004 vBulletin 3.8 Template Modifications 6 13 Oct 2009 02:27

Comments
  #2  
Old 13 Oct 2009, 00:52
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
This is duplicate content already.
http://www.vbulletin.org/forum/showthread.php?t=225080
Reply With Quote
  #3  
Old 13 Oct 2009, 01:00
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
nope
it is version 1.1
it is now for all pages : threads, forum main and forums
Reply With Quote
  #4  
Old 13 Oct 2009, 02:43
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
So, is this one the best option or the other one?
Reply With Quote
  #5  
Old 13 Oct 2009, 04:05
goxy63 goxy63 is offline
 
Join Date: Oct 2008
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
__________________
VB5-- WHO HAS VISITED TODAY(last 24h) PLEASE VOTE HERE
VB5--FIRST POST ON EVERY PAGE PLEASE VOTE HERE

Last edited by goxy63; 13 Oct 2009 at 04:17. Reason: ...
Reply With Quote
  #6  
Old 13 Oct 2009, 07:37
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
The "include pages" variants don't validate as XHTML 1.0 Transitional.

This can be fixed using &amp; instead of &
__________________
- the makers of VaultWiki
Reply With Quote
  #7  
Old 13 Oct 2009, 07:37
erel34's Avatar
erel34 erel34 is offline
 
Join Date: Dec 2007
Thanks
__________________
Reply With Quote
  #8  
Old 13 Oct 2009, 15:55
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
So, is this one the best option or the other one?
of course this one version 1.1

why vb wouldnt have such a thing by default
the latest version of vbulletin was made before rel canonical ever existed ! also it is an optional SEO task that may not be found even in vBulletin 4.


The "include pages" variants don't validate as XHTML 1.0 Transitional.

This can be fixed using &amp; instead of &
thanks I do not know how I missed this...
Code changed ....
Reply With Quote
  #9  
Old 13 Oct 2009, 17:43
Lustikus Lustikus is offline
 
Join Date: Dec 2007
does this mod work for TFseo as well as for vbseo?
Reply With Quote
  #10  
Old 13 Oct 2009, 17:57
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
does this mod work for TFseo as well as for vbseo?
yea
and vbseo has it already in the latest version
Reply With Quote
  #11  
Old 27 Mar 2010, 11:01
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
CODE UPDATED..... please remove "amp:" from code of multiple page indexing ...
Reply With Quote
  #12  
Old 22 Oct 2012, 05:56
Dorgham's Avatar
Dorgham Dorgham is offline
 
Join Date: May 2012
Thank You AbdoBasha
__________________
AdSense revenue sharing 100% - [ Hanan ]
News, egypt : أخبار مصر - Photo, picture : صور
Reply With Quote
  #13  
Old 20 Nov 2012, 11:26
yahsuah yahsuah is offline
 
Join Date: Jul 2005
Thank you!

I had been researching for this...
Reply With Quote
  #14  
Old 04 May 2013, 15:01
dethfire dethfire is offline
 
Join Date: Feb 2003
I've been using this and Bing Webmaster tools gives me a warning

"Large number of pages pointing to the same canonical URL for domain"

"Canonical tags can be used to help de-dupe URLs for pages with the same or very similar content. Bing has detected that your site is using what appears to be the same canonical URL for a large number of pages that are not the same. This may be indicative of a problem with your HTML template, content publishing system, or site code. You should review the source of your pages and check if the URLs used inside the <link rel="canonical" href="<url>" /> are not accidentally pointing to the same location for all (or too many) pages."
__________________
Check out my sites:
http://www.physicsforums.com
http://www.chefsuccess.com
Reply With Quote
  #15  
Old 04 May 2013, 15:27
dethfire dethfire is offline
 
Join Date: Feb 2003
<link rel="canonical" href="$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]<if condition="$pagenumber>1">&page=$pagenumber</if>" />

This is not working. I go to say page 4 and it doesn't add the pagenumber to the url
__________________
Check out my sites:
http://www.physicsforums.com
http://www.chefsuccess.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:13.

Layout Options | Width: Wide Color: