【发布时间】:2012-11-23 02:48:04
【问题描述】:
我正在使用 opencart seo 网址,它们工作正常。问题是我也可以访问导致重复内容的旧网址。
示例:
我的新 SEO 网址是: http://site.com/blue-widgets
问题是我也可以访问旧版本,而且我担心会因为内容重复而受到搜索引擎的惩罚: http://site.com/index.php?route=product/category&path=113
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
【问题讨论】:
-
检查我编辑的答案 - Google 不会惩罚 OpenCart 产品页面。