Log in

View Full Version : Show Thread Enhancements - rel canonical for showthread as in vBseo v1.0, prevent duplicate content


abdobasha2004
10-11-2009, 10:00 PM
this is my first version of the rel canonical mod for vbulletin
Plan :
v 1.0 ---> for showthread
Better version :
v 1.1 ---> https://vborg.vbsupport.ru/showthread.php?t=225117

this mod is already included in the vBseo mod.

Edit templates ---> showthread
find :
</head>

Before it add
<!-- nmisr.com canonical -->
<link rel="canonical" href="showthread.php?$session[sessionurl]t=$threadid" />
<!-- /nmisr.com canonical -->

Value of this mod :
Prevent duplicate content
Better page rank assignment to your page as a result
For more information abour the rel canonical please visit :
Google's blog post about rel canonical (http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html)

note: this mod is a little present from http://www.nmisr.com/, all notices and suggestions are welcomed.
please rate or mark as installed

Shadab
10-12-2009, 03:31 PM
You need to take into account multi-page threads too.

Related
- https://vborg.vbsupport.ru/showthread.php?p=1745800#post1745800

abdobasha2004
10-12-2009, 09:42 PM
You need to take into account multi-page threads too.

yea I forget to mention this will make only one url for a thread including pages, i.e pages will not be indexed
in version 1.1 final - still in progress- i will make indexing thread pages as an option

abdobasha2004
10-12-2009, 09:44 PM
regarding the link, I am going to make it little different to prevent if condition use, it think this will be better for server load ( a very little bit better) :)

thanks for the suggestions

ChopSuey
10-12-2009, 10:49 PM
I thought duplicate content or something was a myth or whatever.

abdobasha2004
10-12-2009, 10:59 PM
I thought duplicate content or something was a myth or whatever.
of course it is not
there no penalty for it
but it dilutes the page rank

kall
10-13-2009, 12:27 AM
I thought duplicate content or something was a myth or whatever.
Google thinks otherwise:
From the top of:http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=66359
Duplicate content generally refers to substantive blocks of content within or across domains that either completely match other content or are appreciably similar. Mostly, this is not deceptive in origin. Examples of non-malicious duplicate content could include:

* Discussion forums that can generate both regular and stripped-down pages targeted at mobile devices
* Store items shown or linked via multiple distinct URLs
* Printer-only versions of web pages

If your site contains multiple pages with largely identical content, there are a number of ways you can indicate your preferred URL to Google. (This is called "canonicalization".)
This tends to suggest that Duplicate Content is not a myth, and telling Google which version you wish to have indexed is a Good Thing.