在我的主页上显示的产品分类和订购的不同状态下,我在 Google 多次索引我的主页时遇到了麻烦。我的网站在谷歌中出现的链接是这样的。大约90次。显然,我不希望我的主页被索引 90 次。
http:/www.my-url.com/?dir=desc&limit=12&mode=list&order=name
如何确保这些重复的内容页面从谷歌中消失?我在 CMSblock 中使用此代码来显示产品:
<div class="custom-products-widget" style="padding-bottom: 0;">{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" category_id="5" template="catalog/product/list.phtml" columnCount="5"}}</div>
到目前为止,我按此顺序所做/尝试过的事情:
当已经太晚了,谷歌已经把它全部索引了,我把它放在我的 robots.txt 中:
Disallow: /*?*
之后:我在网站管理员工具中从谷歌删除了所有网址,但它们回来的数量更多。
昨天,在谷歌站长工具中,我确保不再抓取导致重复内容的 URL 参数。即:
order
dir
limit
mode
我已将以下代码放在我的 local.xml 中,但我发现这仅适用于类别页面。
<catalog_category_layered> <reference name="head"> <action method="setRobots"><meta>NOINDEX,FOLLOW</meta></action> </reference> </catalog_category_layered> <catalog_category_layered_nochildren> <reference name="head"> <action method="setRobots"><meta>NOINDEX,FOLLOW</meta></action> </reference> </catalog_category_layered_nochildren>
我现在的问题是:还有什么我可以或应该做的吗?我如何将它们从谷歌搜索结果中删除并取消索引。还是我现在只需要等待?