我正在为我们的门户网站使用一个非常简单的robots.txt文件,如下所示
用户代理:*不允许:/允许:/robots.txt
问题是,当我使用在线验证程序并将其指向我的robots.txt文件的实时副本时,它会显示这个奇怪的额外字符和错误
Line 1 User-agent: *
This line doesn't follow a correct syntax. The correct syntax is: : , where "field" can be "User-agent" or "Disallow". Please refer to Robots Exclusion Standard page for more informations.
Run Code Online (Sandbox Code Playgroud)
请注意它在用户代理之前显示的奇怪字符.建议?
提前致谢
| 归档时间: |
|
| 查看次数: |
370 次 |
| 最近记录: |