Created
June 2, 2022 20:44
-
-
Save lukecav/24503f61009c8569387fc2afe4278365 to your computer and use it in GitHub Desktop.
Disallow recommends for a robots.txt file for WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
Disallow: /wp-admin/ | |
Disallow: /wp-admin/admin-ajax.php | |
Disallow: /wp-login.php | |
Disallow: /wp-json/ | |
Disallow: /?s= | |
Disallow: /search/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developers.google.com/search/docs/advanced/robots/intro
https://www.cloudflare.com/learning/bots/what-is-robots.txt/