Log in

View Full Version : Duplicate thread ID's


Frosty
06-22-2011, 04:52 AM
https://vborg.vbsupport.ru/external/2011/06/20.png

Anyone had similar problem?

Basically, Google is indexing:
sitename.com/showthread.php?p=ID
sitename.com/showthread.php?t=ID
sitename.com/showpost.php?p=ID&postcount=ID

It makes a total mess in the Google Webmaster Central, as that's the 1 thread, and it has 2 duplicates, which have same keywords and same meta description.

Is there any way to stop Indexing of those p= and showpost.php?

Thanks,

EDIT:
Problem solved.

BirdOPrey5
06-24-2011, 06:11 PM
I see you edited the post and marked it as solved but for anyone with the same issue in the future one way is to add the canonical link url to the headinclude template.

About Canonical URL: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

Add this code:

<if condition="(THIS_SCRIPT == 'showthread')">
<link rel="canonical" href="$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]<if condition="$pagenumber>1">&page=$pagenumber</if>" />
</if>
<if condition="THIS_SCRIPT == 'index'">
<link rel="canonical" href="$vboptions[bburl]/forum.php" />
</if>