Create a robots.txt with presets for WordPress, shops and AI crawlers, test any URL to see which rule wins, and check existing files.
Initializing in your browser…
Create a favicon from text, an emoji or an image and download favicon.ico, every PNG size, a web manifest and the HTML tags in one zip.
Generate SEO, Open Graph and X card meta tags with safe escaping, checks for missing properties and broken images, and title previews for six platforms.
Create the integrity attribute and a ready-to-paste script or link element for a CDN file, or check an existing attribute against the file.
A WordPress site is not being crawled as expected, and someone suggests the rules are in the wrong order. You paste the live file in and test the URLs that matter.
The live robots.txt
User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Sitemap: /sitemap.xml
What the tester and the checks say
Testing /wp-admin/admin-ajax.php as Googlebot Allowed Allow: /wp-admin/admin-ajax.php is the most specific match at 24 octets. Order in the file makes no difference: the standard says the most specific match wins, not the first one. Every rule that matched, most specific first Allow: /wp-admin/admin-ajax.php (24 octets, wins) Disallow: /wp-admin/ (10 octets) Testing /wp-admin/options.php Blocked Disallow: /wp-admin/ is the most specific match at 10 octets. [error] Sitemap: /sitemap.xml is not a full URL [warning] Disallow: /wp-admin/ publishes that path rather than protecting it
The order was never the problem: the Allow rule wins for admin-ajax.php because it is longer, 24 characters against 10, and swapping the two lines gives the same answer. Other admin pages stay blocked. The real fault is the Sitemap line: a robots.txt is fetched on its own, so crawlers cannot resolve /sitemap.xml and ignore it. Write it as https://example.com/sitemap.xml instead.
Create a robots.txt file that tells search engines and AI crawlers which parts of your site to crawl. Start from a preset for WordPress, online shops or blocking AI training bots, test any URL to see which rule wins and why, and check an existing file against the robots.txt standard.
What robots.txt does. It is a plain text file at the root of your site, such as example.com/robots.txt, that well-behaved crawlers read before crawling. It is organised in groups: one or more User-agent lines naming crawlers, followed by Allow and Disallow rules for paths. A Sitemap line points crawlers to your sitemap. The rules are defined by RFC 9309, the standard Google, Bing and others follow.
The most specific rule wins. Crawlers do not read rules top to bottom. For any URL, the matching rule with the longest path wins, so Disallow: /wp-admin/ with Allow: /wp-admin/admin-ajax.php blocks the admin area but allows that one file, whichever order you write them in. When an Allow and a Disallow match equally, the Allow wins. The URL tester shows every matching rule and which one decided, so there is no guessing.
Presets for common sites. Allow All, Disallow All, Standard SEO, WordPress, E-commerce (keeping carts, checkout and account pages out of search) and Block AI Crawlers, which disallows GPTBot, ClaudeBot, CCBot, Google-Extended and other AI training crawlers while leaving search engines alone. Groups can name several crawlers at once.
Checks that catch real mistakes. The tool flags a sitemap given as a path instead of a full URL, which crawlers drop; directives the standard does not include, such as Crawl-delay, which Google ignores; rules a crawler will skip; and paths that reveal private areas. Paste an existing robots.txt to run the same checks and tests on it. Your settings are kept in the page link for sharing.
What it cannot do. robots.txt is a request, not a lock: anyone can read it, and bad bots ignore it. Blocking a page from crawling does not keep it out of search results either, since it can still be listed by its URL. Use authentication for private content and a noindex meta tag for pages that must not appear in search.
Use the WordPress preset: wp-admin is blocked but admin-ajax.php, which themes need, stays crawlable.
Use Block AI Crawlers to disallow AI training bots while search engines keep crawling everything.
Use Disallow All on a staging copy, and protect it with a password too, since robots.txt is only a request.
At the root of your domain, so it is reachable at https://example.com/robots.txt. Each subdomain needs its own file.
No. Crawlers use the most specific matching rule, the one with the longest path, whatever its position. When an Allow and a Disallow are equally specific, the Allow wins.
Not necessarily. A blocked page can still appear in results if other sites link to it, just without a description. To keep a page out of search, allow crawling and add a noindex robots meta tag.
No. It is public and only polite crawlers obey it. Listing a private path even advertises it. Protect private areas with authentication.
No, Google ignores it. Bing reads it. Google adjusts its crawl rate automatically and through Search Console.
Disallow their user agents, such as GPTBot, ClaudeBot, CCBot and Google-Extended, as the Block AI Crawlers preset does. Like all robots.txt rules, this relies on the crawler choosing to comply.
This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.