我的客户在BigCommerce有一家商店,并使用Google Web Master Tools来监控搜索效果。 Google告诉客户,robots.txt文件会在移动设备上阻止某些网址。似乎任何以?sort=newest
结尾的网址都会被屏蔽。
HTTP robots.txt文件的内容是:
User-agent: *
Disallow: /account.php
Disallow: /cart.php
Disallow: /checkout.php
Disallow: /finishorder.php
Disallow: /login.php
Disallow: /orderstatus.php
Disallow: /postreview.php
Disallow: /productimage.php
Disallow: /productupdates.php
Disallow: /remote.php
Disallow: /search.php
Disallow: /viewfile.php
Disallow: /wishlist.php
Disallow: /admin/
Disallow: /_socialshop/
HTTPS robots.txt文件中的内容为:
User-agent: *
Disallow: /
User-agent: google-xrawler
Allow: /feeds/*
很明显,机器人文件中没有提到?sort=newest
。
如何阻止?sort=newest
页面在移动搜索中被阻止?
答案 0 :(得分:0)
虽然我理解您的问题,但阻止网址过滤器实际上是最佳做法。您可以在Moz下的“无索引过滤器”标题下阅读更多相关信息。
BC周围提供了Some additional information以及如何指示google应该抓取哪些搜索参数(如果有)。