網站robots.txt檔配置錯誤,讓我的網站喪失抓起良機!

來源:互聯網
上載者:User

仲介交易 HTTP://www.aliyun.com/zixun/aggregation/6858.html">SEO診斷 淘寶客 雲主機 技術大廳

國外的檢查robots.txt檔合法性的線上驗證工具位址是:HTTP://tool.motoricerca.info/robots-checker.phtml。 不過要注意,使用這個工具,請把robots.txt裡的漢字注釋清除(我的廣州空調維修網站就是吃這個虧了!!! ),它識別不了漢字;如果有漢字在裡面的話,它就不認為這是一個robots.txt檔了。

如果robots檔驗證通過的話,一般會顯示以下結果:
Analyzing file HTTP://www.piaoyi.org/robots.txt
No errors found in this robots.txt file
Hide empty and comments lines:

The following block of code DISALLOWS the crawling of the following files and directories: /inc/ to all spiders/robots.
Line 1 # robots.txt for www.gz-kongtiao.cn
Line 2 User-agent: *
Line 3 Disallow: /inc/

另外,Google網站管理員工具也可以線上驗證robots檔,google是支援中文注釋的。 要分析網站的 robots.txt 檔,請按以下步驟操作:
(1)使用 Google 帳戶登錄 Google 網站管理員工具。
(2)在"主控台"中,點擊所需網站的網址。
(3)點擊工具,然後點擊分析 robots.txt。

最後我要說的是:如果有什麼問題,請您給我留言,留言位址是HTTP://www.gz-kongtiao.cn/guest/。 謝謝合作!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.