Google发现重复标题标签

时间:2013-10-15 02:03:22

标签: php seo duplicate-removal

我有2个关于重复内容的问题。

我正在使用谷歌网站管理员,并被告知我有一些内容重复的文件。

两者都与重复标题标签相关:

问题#1:2个文件:     (a)这是正确的档案     (b)这是相同的文件,但文件名

后面有“?xxxx”
I do not know how to remove the (b) from the list, as it is not a real file, merely the 
same filename but attaching a tracking code to the end.  How do I remove?

问题#2:2个文件:     (a)这是正确的档案     (b)同一档案,但在末尾加上“.php”

I added a redirect script to .htaccess to remove the filename extension (.php) from the 
files so that it would load without the filename extension.  Now Google is telling me some 
are duplicate content.  How do I remove (b)?

1 个答案:

答案 0 :(得分:0)

问题#1:Google使用“url”来索引页面而不是文件地址。所以每个网址必须代表一个独特的内容。例如,“a.php?r = 1”与“a.php?r = 2”不同,因为网址不同。要解决这个问题,您可以执行301重定向(b)到(a)如果它们完全相似或者您可以使用rel="canonical"

问题#1:您也可以使用rel =“canonical”,或者如果您确定无人可以访问(b)您可以忽略这些消息,它们将在一段时间后被删除。