Jit*_*yas 7 seo web-hosting robots.txt
应该把robots.txt放在哪里?
domainname.com/robots.txt
Run Code Online (Sandbox Code Playgroud)
要么
domainname/public_html/robots.txt
Run Code Online (Sandbox Code Playgroud)
我把文件放进去了domainname.com/robots.txt,但是当我在浏览器中键入它时它没有打开.
alt text http://shup.com/Shup/358900/11056202047-My-Desktop.png
Vot*_*ple 13
文件系统中文件的位置取决于您使用的主机,因此我们很难给出具体的答案.
最好的描述是:将它放在代表您主页的index.html(index.php或任何)文件的任何位置.如果那是domainname/public_html/index.html,例如,把它放进去domainname/public_html/robots.txt.