Free tool
robots.txt Generator
Generate a customized robots.txt for WooCommerce, blogs, local business, membership, and LMS sites.
- Primary use
- Create crawler directives with explanations — not a security lock.
- Estimated time
- About 5 minutes
- Input type
- Manual answers
Create a Practical robots.txt Starting Point
Choose a site profile and this generator creates crawler directives with plain-language explanations. Review the file against your live site before publishing it at /robots.txt.
- robots.txt guides compliant crawlers; it is not a security control or a way to hide sensitive content.
- Blocking common AI crawler names is a request, not a guarantee of training, indexing, or access behavior.
How to Publish It
Download the generated file, review the paths and sitemap URL, then place it in the public document root as robots.txt. Test it in your search tooling and check that important pages and assets remain crawlable.
When to Ask for Help
Ask for a technical review before changing directives on a large site, an ecommerce store with complex filters, or a site using multiple languages, subdomains, staging environments, or CDN rules.
Generate a robots.txt file
Review every rule before publishing. robots.txt is a crawler request, not access control or security.
Generated file
# Generated by Rescue404 robots.txt Generator # robots.txt is a crawler directive, not access control or security. User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /cart/ Disallow: /checkout/ Disallow: /my-account/ Disallow: /wishlist/ Disallow: /*?s= Disallow: /*?post_type=product Allow: /wp-admin/admin-ajax.php
Rule explanations
| Directive | Why it is included |
|---|---|
| User-agent: * | Rules below apply to crawlers that do not match a more specific block. |
| Disallow: /cart/ /checkout/ /my-account/ | Keeps personal/cart flows out of ordinary crawl budgets. Does not secure those URLs. |
| Disallow: /wp-admin/ | Asks matching crawlers not to fetch paths under /wp-admin/. |
| Disallow: /wp-includes/ | Asks matching crawlers not to fetch paths under /wp-includes/. |
| Disallow: /cart/ | Asks matching crawlers not to fetch paths under /cart/. |
| Disallow: /checkout/ | Asks matching crawlers not to fetch paths under /checkout/. |
| Disallow: /my-account/ | Asks matching crawlers not to fetch paths under /my-account/. |
| Disallow: /wishlist/ | Asks matching crawlers not to fetch paths under /wishlist/. |
| Disallow: /*?s= | Asks matching crawlers not to fetch paths under /*?s=. |
| Disallow: /*?post_type=product | Asks matching crawlers not to fetch paths under /*?post_type=product. |
| Allow: /wp-admin/admin-ajax.php | Exception allowing /wp-admin/admin-ajax.php even if a broader Disallow would match. |
Review before publishing
- WooCommerce filter and facet URLs vary by theme/plugin — review parameter rules after deploy.
- No sitemap URL set — add one when available.
- No Sitemap directive found.
Methodology
- Profiles begin with common WordPress crawl directives and add paths commonly associated with the selected site type.
- The generator keeps admin-ajax.php allowed because many public WordPress features rely on it.
- Extra Allow and Disallow paths are normalized to begin with a slash and are deduplicated.
- AI options emit user-agent blocks for common crawler names or preserve your custom rules verbatim.
- Warnings flag missing sitemap details, resource-blocking patterns, and membership/LMS paths that still need real access controls.
Limitations
- robots.txt syntax and wildcard support vary among crawlers.
- Directives are voluntary and do not authenticate users, prevent downloads, or guarantee deindexing.
- This generator cannot inspect your live routes, plugin behavior, or sitemap.
- Review and test changes before publishing, especially on ecommerce and multilingual sites.
Privacy
Generation happens in your browser. The site URL and rules you enter are not sent to Rescue404.
FAQ
Plain answers about what this tool does and does not claim.
Does robots.txt protect private pages? +
Will blocking AI bots stop AI training? +
Should I block wp-admin? +
Can I block search result pages? +
Where is my sitemap? +
Related tools
Related guides
Related services
Have Rescue404 investigate these technical issues
Useful when metadata, schema, or crawl directives are tangled with hosting, redirects, or theme output.
Results stay free. No account required to use the tool.