Hello, we apologize for the issue you are facing with excluding URLs in the XML sitemap.
To exclude URLs from the XML sitemap in Rank Math, you do not need the Pro version. You can exclude specific URLs by using the free version of Rank Math.
If you have a 302 redirect URL in the sitemap that you cannot remove, please follow these steps:
- Go to your WordPress Dashboard and navigate to Rank Math > Sitemap Settings.
- Look for the option to exclude specific URLs from the sitemap.
- Add the URL you want to exclude from the sitemap.
- Save your changes.
If you encounter any difficulties while following these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for bringing this concern to our attention.
Sources:
How to Configure Sitemaps in Rank Math – Best Settings and Tips
How to Fix “Incorrect HTTP Header Content-Type” Error in Sitemaps » Rank Math
How To Exclude Rank Math Sitemaps from Caching » Rank Math
How to Configure Sitemaps in Rank Math – Best Settings and Tips
Rank Math Sitemap Issues and Their Fixes » Rank Math
I do not have the option to exclude URLs under the sitemap settings. That’s why I asked the question.
Hello,
Thank you for contacting us and bringing your concern to our attention.
The Exclude Posts
option in the Sitemap Settings is available in the free version of the plugin.
Please note that some options are only available in Advance Mode. If you are not able to find the Exclude Posts option in the Sitemap Settings, please try to switch to Advance Mode: https://rankmath.com/kb/switch-from-easy-to-advanced-mode/
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.