[Rules](/rules) · fixes by platform

# How to fix crawler findings on WordPress

Where each fix is made on WordPress, including where WordPress does not let you make it and what to do instead. Every report on a WordPress site shows these steps under the finding they fix.

**WordPress** · [Shopify](/fix/shopify) · [Webflow](/fix/webflow) · [Squarespace](/fix/squarespace) · [Wix](/fix/wix) · [Next.js](/fix/nextjs) · [Drupal](/fix/drupal) · [Cloudflare](/fix/cloudflare)

## Edit robots.txt

- WordPress serves a virtual robots.txt. Edit it in your SEO plugin: Yoast SEO → Tools → File editor; Rank Math → General Settings → Edit robots.txt; All in One SEO → Tools → Robots.txt Editor.
- A real robots.txt file in the site root (the folder with wp-config.php) overrides every plugin. If one exists, edit that file instead, through your host's file manager or SFTP.
- Keep one group per crawler: a crawler that has its own User-agent group ignores the * group entirely, so repeat any Disallow lines it still needs.

Fixes these findings: [ROBOTS_RULES_SHADOWED](/rules#ROBOTS_RULES_SHADOWED), [ROBOTS_LEGACY_AGENT_ONLY](/rules#ROBOTS_LEGACY_AGENT_ONLY), [ROBOTS_GROUP_NAME_TYPO](/rules#ROBOTS_GROUP_NAME_TYPO), [ROBOTS_NOINDEX_LINE](/rules#ROBOTS_NOINDEX_LINE), [ROBOTS_SITEMAP_RELATIVE](/rules#ROBOTS_SITEMAP_RELATIVE), [ROBOTS_NO_SITEMAP](/rules#ROBOTS_NO_SITEMAP), [ROBOTS_NOT_200](/rules#ROBOTS_NOT_200), [ROBOTS_IS_HTML](/rules#ROBOTS_IS_HTML), [ROBOTS_IS_CATCHALL](/rules#ROBOTS_IS_CATCHALL), [ROBOTS_DISALLOW_ALL](/rules#ROBOTS_DISALLOW_ALL), [ROBOTS_CTYPE](/rules#ROBOTS_CTYPE), [ROBOTS_BLOCKED](/rules#ROBOTS_BLOCKED), [RENDER_RESOURCE_BLOCKED](/rules#RENDER_RESOURCE_BLOCKED), [INSTRUCTION_CONFLICT](/rules#INSTRUCTION_CONFLICT), [DECLARED_SITEMAP_REFUSED](/rules#DECLARED_SITEMAP_REFUSED), [DECLARED_SITEMAP_BROKEN](/rules#DECLARED_SITEMAP_BROKEN), [SITEMAP_BLOCKED](/rules#SITEMAP_BLOCKED), [AI_OPTOUT_SET](/rules#AI_OPTOUT_SET), [BOT_BLOCKED_NOT_CITED](/rules#BOT_BLOCKED_NOT_CITED), [BOT_RULES_SHADOWED_NOT_CITED](/rules#BOT_RULES_SHADOWED_NOT_CITED)

## Publish a sitemap

- WordPress 5.5 and later serve /wp-sitemap.xml; Yoast and Rank Math replace it with /sitemap_index.xml. Keep exactly one turned on.
- Core's wp-sitemap.xml has no lastmod dates; Yoast and Rank Math sitemaps do. If the finding is missing lastmod, use the plugin sitemap.
- Add the sitemap's address to robots.txt as Sitemap: https://yourdomain/sitemap_index.xml.

Fixes these findings: [NO_SITEMAP_FOUND](/rules#NO_SITEMAP_FOUND), [SITEMAP_NO_LASTMOD](/rules#SITEMAP_NO_LASTMOD), [SITEMAP_IS_HTML](/rules#SITEMAP_IS_HTML), [SITEMAP_DECLARES_NOTHING](/rules#SITEMAP_DECLARES_NOTHING), [SITEMAP_UNREADABLE](/rules#SITEMAP_UNREADABLE), [SITEMAP_ORIGIN_ERROR](/rules#SITEMAP_ORIGIN_ERROR), [ROBOTS_NO_SITEMAP](/rules#ROBOTS_NO_SITEMAP), [DECLARED_SITEMAP_BROKEN](/rules#DECLARED_SITEMAP_BROKEN), [SITEMAP_CHILD_BROKEN](/rules#SITEMAP_CHILD_BROKEN), [SITEMAP_URL_OFF_HOST](/rules#SITEMAP_URL_OFF_HOST), [SITEMAP_LASTMOD_INVALID](/rules#SITEMAP_LASTMOD_INVALID), [DECLARED_SITEMAP_REFUSED](/rules#DECLARED_SITEMAP_REFUSED)

## Publish llms.txt

- Upload llms.txt to the site root, the folder with wp-config.php, through your host's file manager or SFTP.
- Recent versions of Yoast SEO and Rank Math can generate llms.txt for you; use one source only.

Fixes these findings: [NO_LLMS_TXT](/rules#NO_LLMS_TXT), [LLMS_LINK_BROKEN](/rules#LLMS_LINK_BROKEN), [NO_LLMS_TXT_NOT_CITED](/rules#NO_LLMS_TXT_NOT_CITED)

## Send HSTS

- Set it at the web server or CDN, not in WordPress: Apache .htaccess Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"; Nginx add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
- Add includeSubDomains only when every subdomain serves HTTPS, and preload only when you mean to stay on HTTPS for good.

Fixes these findings: [HSTS_MISSING](/rules#HSTS_MISSING), [HSTS_PRELOAD_INELIGIBLE](/rules#HSTS_PRELOAD_INELIGIBLE), [HSTS_PRELOAD_REMOVED](/rules#HSTS_PRELOAD_REMOVED)

## Let crawlers through

- Security plugins challenge unknown clients. Check each one you run: Wordfence (Firewall → Rate limiting, fake-crawler blocking), MalCare (its bot protection serves a challenge page with status 200), Sucuri firewall, and your host's own bot filter.
- Allow the crawlers you want, or turn the challenge off for verified crawlers, then rescan to confirm each crawler gets the real page.

Fixes these findings: [CHALLENGE_SERVED_200](/rules#CHALLENGE_SERVED_200), [CHALLENGE_PINNED_AT_EDGE](/rules#CHALLENGE_PINNED_AT_EDGE), [ANSWER_ENGINE_REFUSED](/rules#ANSWER_ENGINE_REFUSED), [UNIFORM_REFUSAL](/rules#UNIFORM_REFUSAL), [HOMEPAGE_REFUSED](/rules#HOMEPAGE_REFUSED), [HOMEPAGE_IS_INTERSTITIAL](/rules#HOMEPAGE_IS_INTERSTITIAL), [ORIGIN_REFUSED_SCANNER](/rules#ORIGIN_REFUSED_SCANNER), [CRAWLER_SERVED_LESS](/rules#CRAWLER_SERVED_LESS), [CRAWLER_REDIRECTED_AWAY](/rules#CRAWLER_REDIRECTED_AWAY), [BOT_BLOCKED_NOT_CITED](/rules#BOT_BLOCKED_NOT_CITED)

## Serve the text, not just code

- Page builders add most of the code: in Elementor turn on the optimized DOM output and improved asset loading features; remove plugins that inject scripts on every page.
- Let a cache or optimization plugin defer JavaScript and remove unused CSS, then rescan to see the text share move.

Fixes these findings: [PAGE_IS_MOSTLY_CODE](/rules#PAGE_IS_MOSTLY_CODE), [CONTENT_NEEDS_JAVASCRIPT](/rules#CONTENT_NEEDS_JAVASCRIPT)

## Fix the structured data

- Keep one source of business markup: Rank Math → Titles & Meta → Local SEO, or Yoast Local SEO. Turn off the same block in your theme or any second plugin.
- Fill name, address, phone, geo coordinates and opening hours there, matching the Business Profile exactly.

Fixes these findings: [ENTITY_COLLISION](/rules#ENTITY_COLLISION), [ENTITY_NO_COORDINATES](/rules#ENTITY_NO_COORDINATES), [GEO_COUNTRY_MISMATCH](/rules#GEO_COUNTRY_MISMATCH), [NAP_NAME_DRIFT](/rules#NAP_NAME_DRIFT), [NAP_UNDECLARED_LISTING](/rules#NAP_UNDECLARED_LISTING)

## Clear stale copies

- Purge the server cache first (your host's Varnish or page cache), then the caching plugin, then the CDN; purging in the other order lets the CDN refill from the stale layer.
- Give robots.txt, sitemaps and llms.txt a short cache lifetime.

Fixes these findings: [STALE_CACHE_SERVED](/rules#STALE_CACHE_SERVED), [MACHINE_FILE_CACHE_STALE](/rules#MACHINE_FILE_CACHE_STALE), [MACHINE_FILE_CACHE_SPLIT](/rules#MACHINE_FILE_CACHE_SPLIT)

## Check the fix

Scan the site again on the [homepage](/): a fix counts when the finding is gone from the new report. JSON for tools: [/api/v1/fix/platform?platform=wordpress](/api/v1/fix/platform?platform=wordpress).

We read your site the way crawlers do, from our own network, and every report says exactly what was asked for and what came back. [Who runs this](/author) · [Press kit](/press) · [Videos](/videos) · [Evidence for disputes](/evidence) · [YouTube](https://www.youtube.com/@crawlcheck) · [hello@crawlcheck.io](mailto:hello@crawlcheck.io)

#### How we measure, and our own machine files

CrawlCheck reads every site as itself. Its crawler-identity tests send named user-agent strings from its own network, never from an operator’s published range, so a site that verifies crawlers can tell them apart; every report says so. Results reflect what an anonymous non-browser client receives. [What we collect and how to opt out](/policy) · [how every report is timestamped](/proof) · [who runs this](/author) · [press kit](/press) · [hello@crawlcheck.io](mailto:hello@crawlcheck.io).

**Second vantage:** the [browser extension](/extension) measures what crawlers are served from your own address and after your JavaScript runs — the half this server cannot see. From 1.0.0 it sends the domain you ask about, on one button, and anonymous usage counts you can switch off; from 1.0.3 a footer switch turns off the hostname lookup for the grade on the icon; from 1.0.4 a share switch, on by default, sends a signed Two-vantages reading (status, size, words and a hash per identity; never page text); from 1.0.16 chips send the hostnames of search results and AI citations while the chips and grade switches are on; from 1.0.17 a readings switch, on by default, sends one signed page reading a day (numbers, the hostname and the page address with the query removed; never in incognito; at most 40 a day) and only while the share and grade switches are also on. Earlier versions send nothing.

**Our own machine layer for the agentic web:** [llms.txt](/llms.txt) · [llms-full.txt](/llms-full.txt) · [agents.md](/agents.md) · [SKILL.md](/SKILL.md) · [entitymap.json](/entitymap.json) · [media kit](/.well-known/media-kit.json) · [MCP server card](/.well-known/mcp/server-card.json) · [API catalog](/.well-known/api-catalog) · [OpenAPI](/openapi.json) · [robots.txt](/robots.txt) · [sitemap.xml](/sitemap.xml) · [security.txt](/.well-known/security.txt) — every one named in robots.txt, which is exactly what we check for on yours.

**Pages:** [IP ranges](/data/ip-ranges) · [Keys](/keys) · [/](/) · [Listing check](/listing-check) · [TLS posture](/data/tls-posture) · [Conduct: Google cloudvertexbot](/agents/conduct/google-cloudvertexbot) | **Registry:** [kelleybuickgmc.com](/registry/capabilities/kelleybuickgmc.com) · [swapnio.in](/registry/capabilities/swapnio.in) | **Datasets:** [Maine](/datasets/state/maine) · [Technologies: Webflow](/datasets/technologies/webflow) | **Blog:** [areaServed vs service area pages: 20 towns declared, 1 page](/blog/your-schema-lists-service-areas-your-sitemap-has-pages-for-a-fraction-of-them) · [AI citations on two dates: seven matched questions](/blog/seven-matched-questions-ai-citations-october-2026)

[Contact](/contact) · [Partnerships](/partnerships) · [Terms of service](/terms) · [Refund policy](/refunds) · [Trust center](/trust) · [Subprocessors](/subprocessors) · [Changelog](/changelog) · [Report an error](/report-error)
