Fetch robots.txt and show the Disallow rules
check robots.txt disallow rules | what does robots.txt block | is my site blocked for google | show robots.txt command line | curl | robots-txt | crawling | seocurl -s https://example.com/robots.txt | grep -iE '^\s*(user-agent|disallow|allow|sitemap):'Fetches robots.txt and filters out comments and empty lines. This quickly shows whether a Disallow: / from the development phase was accidentally left in place and whether the sitemap is listed. The URL must end with a slash.
Note: On WordPress without a physical file, WordPress generates robots.txt dynamically. curl -sI {{URL}}robots.txt checks the status code, and a 5xx there can stop crawling entirely.
Also searched as
- check robots.txt disallow rules
- what does robots.txt block
- is my site blocked for google
- show robots.txt command line