Hello,
We apologize for the issue you are facing with your sitemap showing outdated URLs and redirects. To remove URLs from your sitemap that shouldn’t be there, you can follow these steps:
-
Check for Redirects: Ensure that the URLs in your sitemap are not redirecting to other pages. If they are, you may need to update or remove those redirects.
-
Exclude Specific Posts/Pages: You can exclude specific posts or pages from appearing in your sitemap by going to the Rank Math SEO settings:
- Navigate to Rank Math > Sitemap Settings.
- Under the Post Types and Taxonomies sections, you can choose which types of content to include or exclude from the sitemap.
-
Custom Canonicals: If you have set custom canonical URLs for certain posts, those posts may not appear in the sitemap. Consider removing custom canonicals if you want them included.
-
Clear Cache: If you are using a caching plugin, clear your cache after making changes to ensure the latest sitemap is generated.
-
Regenerate Sitemap: After making the necessary adjustments, regenerate your sitemap by going to Rank Math > Sitemap Settings and clicking on the option to regenerate it.
If you continue to experience issues or need more advanced assistance, we recommend considering our professional setup service, which ensures your plugin setup is fully correct and adheres to the latest SEO standards. You can find more information about this service at Rank Math Professional Setup Service.
Thank you for raising this concern! If you have any further questions or need additional help, please reply to this ticket, and a human agent will assist you further.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.