robots-txt-validator
Validator to verify robots.txt and sitemaps listed in it
How to use
Install globaly
yarn global add robots-txt-validator
Execute command
robots-validator <sitename.com>
- No need to add robots.txt while specifying domain name
- Example of proper
sitename
Debug mode
The validator support ways to see being executed. There are multiple debug modes that you can choose:
error
display error message that occured during processinglog
general log messagesitemapIndex
information about fetching/parsing operation on sitemap indexurlset
information about parsing operation on a urlset sitemap
Using Debug mode
Below are some sample commands
DEBUG=error,sitemapIndex,urlset,log robots-validator https://example.com
Install globaly
yarn global add robots-txt-validator
Execute command
robots-validator <sitename.com>