Redirects and Non-Canonical URLs in Sitemap

  • Resolved Magaya

    I’m working through some alerts in my semrush site audit and came across over 100 errors related to redirects or non-canonical URLs being included in the sitemap.
    The non-canonical URLs are related to my Spanish pages, it seems. It’s a multilingual site with WMPL.
    The redirects are related to blog posts that have been redirected to a subdomain.
    How can I exclude these or otherwise fix the issue?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    It is possible to filter the URLs and entries before they are added to the sitemap. Please take a look at the available filters on the following page:

    You can exclude posts from your sitemap by going to Rank Math > Sitemap Settings > General > Exclude posts.
    exclude posts
    Enter your post or page id in the given text box.

    You can follow this guide to find the page/post id:

    Looking forward to helping you. Thank you.


    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.

Viewing 1 replies (of 1 total)

The ticket ‘Redirects and Non-Canonical URLs in Sitemap’ is closed to new replies.