Hello, we apologize for the issue you are facing with your sitemap returning a 404 error. This can often be resolved by flushing your permalinks. Here’s how you can do that:
- Go to your WordPress admin area.
- Navigate to Settings → Permalinks.
- Click the Save Changes button, even if you didn’t make any changes on the page.

This should help fix the 404 error for your sitemap. If the issue persists, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
I’m very sorry, I tried it, but it still didn’t work
Hello,
Your product tag sitemap is not included in your sitemap index.
Please ensure that at least one of your product tag pages is set to index.
Here’s a guide for some common reasons why a URL is not included in the sitemap:
https://rankmath.com/kb/url-not-in-sitemap/
Looking forward to helping you.
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.