Hello,
We apologize for the inconvenience you’re facing with your sitemap. It’s important to ensure that all your posts are correctly included in the sitemap to avoid any issues with indexing.
To troubleshoot the missing and duplicate URLs in your sitemap, you can follow these steps:
-
Validate Your Sitemap: Use the Validate XML Sitemap tool to confirm that your sitemap is correctly configured. If it returns a “No issues detected” message, then your sitemap is set up correctly.
-
Ensure the Sitemap is Located in the Root Folder: If you manually created the sitemap, ensure it is installed in the root folder of your WordPress installation. The correct format should be `https://rankmath.com/wp-content/uploads/2023/04/Index-titles-and-meta-settings.png
-
Ensure Your Posts Are Set to Index: Check if all your posts are set to index in Rank Math SEO → Titles & Meta. Enable the Index checkbox and save changes.
If you’ve already checked these steps and are still facing issues, please feel free to contact our support team for further assistance. We are available 24×7 and will help you out as soon as possible.
Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this issue for you.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Why Did My Website Disappear From Google Search? » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Remove Blank Lines From Sitemaps » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Can you please try to follow the steps below and see if that works for you?
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. If the above steps don’t seem to work, kindly apply the following filter to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how it goes. Looking forward to helping you.
Thank you.
The first option worked. Thanks.
Hello,
We are glad to hear that this issue has been resolved. Thank you for letting us know. This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.
We appreciate your patience and cooperation throughout this process.
Thank you for choosing Rank Math.