If you switch SEO plugins, the WordPress site can still open while your submitted sitemap stops working. Check the sitemap address, its child file and one published page before you change what Google receives.
Find what generates the sitemap
WordPress core normally publishes its XML sitemap index at /wp-sitemap.xml. Rank Math uses /sitemap_index.xml. Use the filenames as clues. Verify which sitemap feature is enabled in WordPress and whether either address redirects or serves a cached copy.
Open both addresses in a private window. Note the final URL, HTTP status and what loads. In browser developer tools, the Network panel can show a redirect that is easy to miss. Read the response body if you cannot tell whether the displayed page is XML.
Follow one published page through the index
Suppose an Ipoh renovation supplier is testing a new configuration. It wants /guides/kitchen-ventilation/ in its posts sitemap. If the index has a sitemapindex root, open the relevant child. In this example, core links to wp-sitemap-posts-post-1.xml, while Rank Math links to post-sitemap.xml. In the child, find the published URL inside a urlset.
| What the test shows | What to check next |
|---|---|
| The sitemap address redirects to the homepage and loads HTML | Check the sitemap setting and route. A successful homepage response does not validate the sitemap. |
| The index opens, but the article is missing from the relevant child file | Confirm the URL is public and that the selected generator includes its post type. |
| The index links to a child containing the exact article URL | Record the generator, index and child address so you can repeat the check after the change. |
Verify the public index after the change
On a private test site, an intentionally disabled core sitemap may be expected. Check the site visibility setting and plugin sitemap configuration on the test copy. Keep staging protected. After the planned change goes live, repeat the index and child checks on the public site before updating the sitemap reference in robots.txt and the submission in Search Console. Use the sitemap and robots.txt guide to check the two references.
Frequently asked questions
Can I submit a child sitemap directly?
Yes. When a working index already lists the child you want Google to fetch, submitting the index covers that child.
What if both sitemap addresses return 200?
Check where each one ends up and what XML each serves. One may redirect to the other. Choose the verified output you intend to maintain.
Does appearing in the sitemap mean the page is indexed?
No. A sitemap helps discovery. Check the page with URL Inspection if you need to know its indexed status.

