Hello,
We apologize for the issue you are facing with your sitemap not being read properly in Google Search Console. It sounds like you’ve already taken some good steps to troubleshoot this issue. Since you mentioned that you are getting 404 errors on the individual sitemap pages and have recently moved your domain, there are a few things we can check:
-
Flush Permalinks: Sometimes, after moving a site or changing settings, permalinks can cause issues. Go to your WordPress dashboard, navigate to Settings → Permalinks, and simply click Save Changes without making any changes. This can help refresh the permalink structure.
-
Check Sitemap Location: Ensure that your sitemaps are located correctly in the root folder of your WordPress installation. The URL should be structured as follows:
`https://rankmath.com/kb/fix-sitemap-issues/
-
Validate Your Sitemap: You mentioned that the sitemaps are validated, but it’s worth double-checking using the Validate XML Sitemap tool to ensure there are no hidden issues.
-
Check for Caching Issues: If you are using a caching plugin, make sure to clear the cache and exclude the sitemap from being cached. Sometimes, cached versions can lead to outdated responses.
-
Check Server Configuration: If you are using an NGINX or Apache server, ensure that the correct rewrite rules are in place to allow access to the sitemap files.
If you’ve tried all these steps and the issue persists, we recommend replying to this ticket with any additional details or errors you might be encountering. A human agent from our support team will be able to assist you further.
Thank you for raising this concern, and we hope to resolve it for you soon!
This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Hello,
Thank you for contacting us. We apologize for any inconvenience this issue may have caused.
Please follow the steps below:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
3. Apply the following filter code to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/
4. Remove all your sitemaps from your Google Search Console and re-submit only the main sitemap (https://website.com/sitemap_index.xml
)
5. If the issue persists, please try removing all your sitemaps from your GSC account again and try submitting the following: https://website.com/?sitemap=1
.
Let us know how that goes. Looking forward to helping you.