Write crawler rules
The Robots.txt field accepts the complete plain-text response. POM Tweaks does not merge individual lines with the WordPress default, validate crawler syntax, or add a sitemap automatically.
Start from an explicit policy
A minimal public-site example is:
User-agent: *
Disallow:
Sitemap: https://example.com/wp-sitemap.xml
Replace the sitemap URL and rules for the actual site. Do not copy a staging policy into production.
Important limits
robots.txtis a crawl request, not access control.- A disallowed URL can still be discovered or indexed from other signals.
- Private content requires WordPress permissions, authentication, and server protection.
- Paths are interpreted by crawlers, so site language and subdirectory structure matter.
- A syntax error can change how a crawler interprets the remaining file.
Save safely
- Copy the current public response.
- Identify the owner of every existing rule.
- Enter the complete replacement text.
- Use absolute sitemap URLs.
- Save the module.
- Purge any CDN or page cache for
/robots.txt. - Run the public validation.
For a multisite network, configure and test the current site’s hostname and path independently.