Home / Questions / Why does my Rank Math sitemap show 404?

Why does my Rank Math sitemap show 404?

A sitemap that returns 404 means WordPress cannot find its rewrite rule. Saving permalinks and clearing the sitemap cache usually restores it.

Rank Math creates the sitemap at /sitemap_index.xml. If that address shows 404, the rewrite rule is missing. The sitemap itself may still exist.

Fix it

  1. Go to Settings > Permalinks and click Save Changes.
  2. Open Rank Math > Sitemap Settings and check that the sitemap is turned on.
  3. Clear the Rank Math sitemap cache from the Rank Math tools, then open the sitemap again.
  4. Check that .htaccess is writable, so the rule can be saved.

After it loads, submit the sitemap in Google Search Console. Contact us if the address still returns 404.

Ready to act on this?

Get a written review of your site, or send us your question and we will reply within 24 hours.

Related services

Not sure where your site stands?

Send us the details and we will reply within 24 hours with a clear next step.