5 min read
2026-02-24
Block cart pages, checkout, personal account, and filter results pages.
Block /wp-admin/, /wp-includes/, author pages, and tags (if they duplicate categories).
Make sure Google can crawl pre-rendered pages. Don't block JS bundles.
Completely block the test version of the site: `Disallow: /` for all User-agents.
Allow crawling of all language versions and specify a Sitemap for each.
Block internal endpoints but allow public documentation.
Create robots.txt in the Robots.txt Generator.
See also: Sitemap Generator, Open Graph Preview, Meta Tag Generator