【问题标题】:how to stop crawl for specific pages in jomres?如何停止对jomres中特定页面的抓取?
【发布时间】:2016-10-05 15:41:05
【问题描述】:

如何在jomres中停止此页面https://www.example.com/index.php/en/component/jomres/?Itemid=0&task=search&page=1&towns%5B0%5D=calangute的谷歌抓取,是否可以在robot.txt文件或任何其他解决方案中执行?

【问题讨论】:

    标签: seo web-crawler jomres


    【解决方案1】:

    是的,您可以通过 robots.txt 添加以下行来访问此页面

    Disallow : /index.php/en/component/jomres/?Itemid=0&task=search&page=1&towns%5B0%5D=calangute 
    

    上面一行只会屏蔽这个页面,如果你想屏蔽所有上面参数的页面,就用这个

    Disallow : /index.php/en/component/jomres/?Itemid=*&task=*&page=*&towns%5B0%5D=*
    

    这里我们将动态值更改为星 *,您可以根据需要自定义它并针对任何特定情况。

    【讨论】:

    • 好的,非常感谢您...会尝试一下
    猜你喜欢
    • 2020-09-28
    • 1970-01-01
    • 1970-01-01
    • 2015-04-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-12
    • 2023-01-09
    相关资源
    最近更新 更多