我运行一个基于WordPress (PHP)的养鱼网站。
最近,我建立了一个相当复杂的“过滤器”,搜索我的内容中提到的鱼类物种概况,并将它们转化为一个活跃的链接。
例如,
asdasd this is a test about abdomen to see if the caudal fin will work asdadasdas try again with abdomen and A. panduro and Apistogramma panduro
...becomes
asdasd this is a test about abdomen to see if the caudal fin will work asdadasdas try again with abdomen and <a href="/?p=1703" class="link_species">A. panduro</a> and <a href="/?p=1703" class="link_species">Apistogramma panduro</a>
在我的其他网站上,物种被链接到漂亮的URL,如/species/apistogramma-panduro/,但是由于这个过滤器的工作方式,我唯一可以访问的信息是帖子的id。因此,我使用的是/?p=1703或任何ID。
我想知道的是:这会对我的SEO评级/排名产生多大影响?如果我不重写这个函数会有害吗?
提前谢谢你,
发布于 2012-04-13 11:20:21
WordPress内部重写引擎应该负责301个将您的/?p=1703 URL重定向到/species/apistogramma-panduro/版本,这将减轻任何采取任何进一步行动的需要。
有一个良好的SEO插件(如Joost的WordPress SEO插件)将确保您的URL正确规范化到适当的版本,确保任何重复内容的可能性。
发布于 2012-03-27 14:10:31
您应该做的是在页面上放置一个规范网址,以确保Google知道两个URL都引用同一个页面。确保使用带有关键字的URL,因为这是您的“主”URL。(即/species/)。
<link rel="canonical" href="http://www.example.com/species/" />https://webmasters.stackexchange.com/questions/27870
复制相似问题