FAQ
Robots.txt generator FAQs
Straight answers about crawl rules, indexing myths, Shopify, WordPress and sitemaps.
What is robots.txt?
+
robots.txt is a plain-text file placed at the site root (example.com) that gives crawlers voluntary instructions about which paths they may request.
How does robots.txt work?
+
Compliant bots fetch /robots.txt before crawling. They match the User-agent group, then apply Allow and Disallow rules for URL paths. Sitemap lines advertise XML sitemaps. Non-compliant bots may ignore the file.
Does robots.txt block indexing?
+
No. Disallow can stop crawling of a URL, but a page can still appear in search results if it is linked elsewhere. Use noindex (for example via meta robots or HTTP headers) when you need to keep a URL out of the index.
Can robots.txt hide pages?
+
Not securely. The file is publicly readable, and blocked URLs can still be discovered through links. Use login walls, permissions and noindex for sensitive or private content.
How do I add robots.txt to Shopify?
+
Shopify merchants typically edit robots.txt through the theme’s robots.txt.liquid template (Online Store → Themes → Edit code) or related Shopify admin tooling. Generate rules here, then paste carefully and preview on a development theme first.
How do I add robots.txt to WordPress?
+
Place robots.txt at the site root, or manage it with your SEO plugin / host file manager. After publishing, open yoursite.com to confirm the live file matches what you generated.
Should every website have robots.txt?
+
Most public sites benefit from a simple robots.txt that allows public content and references a sitemap. Very small sites can still use a minimal Allow: / plus Sitemap line for clarity.
Can I block Google?
+
Yes, by targeting Googlebot (or using Disallow: / for User-agent: *). Blocking Google removes crawl access for that agent and can remove pages from Google Search over time. Use with caution on production sites.