WordPress中的robots.txt在哪里

我使用wordpress创建了一个Web应用程序。当我在Google中搜索姓名时, 它会显示

由于该网站的robots.txt, 因此无法提供此结果的说明

我输入url / robots.txt。

User-agent: *

Disallow: /#/register
Disallow: /#/login 
Sitemap: http://www./sitemap.xml

我想更改此文本文件。这可能吗。


#1


如果你的网站托管在根目录中, 则robots.txt将存储在

public_html/robots.txt

或者, 你也可以转到”工具-Yoast SEO”页面并在此处对其进行编辑。

请阅读此官方文档表格以获取更多详细信息。如何通过Yoast SEO编辑robots.txt?

希望这可以帮助!

来源:

https://www.srcmini02.com/66678.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37038.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?