Discoverability
Is there a robots.txt file?
Put robots.txt at the site root, allow public pages, and disallow admin screens and APIs.
Why it matters
Without robots.txt, admin pages and APIs may be crawled. A wrong rule, on the other hand, can hide pages you want indexed.
A minimal setup that allows public pages and blocks admin and APIs is the safe default.
How to fix it
-
Serve https://your-domain/robots.txt
-
Allow public pages and disallow admin and API paths
-
State where the sitemap is
-
Confirm fetching in Search Console
Prompt for an AI assistant
Copy the text below and paste it into an AI assistant.
You are the person improving this website. Check the item below and fix it if it applies to the site. Item: Is there a robots.txt file? Summary: Put robots.txt at the site root, allow public pages, and disallow admin screens and APIs. Steps: 1. Serve https://your-domain/robots.txt 2. Allow public pages and disallow admin and API paths 3. State where the sitemap is 4. Confirm fetching in Search Console References: - robots.txt introduction (Google) (https://developers.google.com/search/docs/crawling-indexing/robots/intro) - Create robots.txt (Google) (https://developers.google.com/search/docs/crawling-indexing/robots/create-robots-txt) Constraints: - Keep the existing design and tone of voice. - Show the file or section you changed and the suggested final wording. - Do not decide ambiguous points alone; give options and a recommendation. - Do not change anything outside the listed item.
Checked by
-
audit
Pre-launch check (50 items)
References
-
robots.txt introduction (Google)
Google documentation(Official)
-
Create robots.txt (Google)
Google documentation(Official)
Check your site now
Enter a URL and find what is missing before launch, for free.
Run audit