Robots.txt is a text file that specifies the rules web robots or spiders should follow when crawling your site. It tells them which pages or directories they are allowed or not allowed to crawl.
Validate your Robots.txt by checking if your URLs are properly allowed or blocked. Running a Shopify store? We'll also suggest some rules to add.
Robots.txt is a text file that specifies the rules web robots or spiders should follow when crawling your site. It tells them which pages or directories they are allowed or not allowed to crawl.
You can either type in the URL of the site you want to test or paste in your own Robots.txt file. After that, input the URL you'd like to test and the tool will report if the it's crawlable or blocked by Robots.txt.
A user agent is a software agent that acts on behalf of a user. In the case of Robots.txt Testing Tool, it specifies which web crawler you'd like to test against.
Testing Robots.txt is important to ensure that web crawlers can access the content you want to be indexed and avoid blocking them from accessing important pages or directories.
Likewise, you want to make sure that low quality pages with no ranking purposes are blocked in order to save crawl budget.
Under normal circumstances, your provided Robots.txt shouldn't block any important pages. However if it does, you should review the rules and modify them as needed to ensure that the desired content is crawlable by search engines.
If you're testing a Shopify store, the Robots.txt Testing Tool will provide suggestions for additional rules to add to your robots.txt file. These suggestions are based on best practices for optimizing your site for search engines, and can help improve your site's visibility in search results.
Curious what each of these rules do? Check out our write up on Shopify Robots.txt SEO.
Yes, it's usually possible to edit your Robots.txt file. However, it's important to understand the potential implications of making changes to the file. Consult your web host or content management system's documentation & support first.
For Shopify stores, we have a guide on how to edit the Robots.txt file here.