Excluding certain URL paths from Site Map

#935878
  • Maderightmedia
    Rank Math free
    Content AI Starter
    SEO Course

    Hello,

    First off, I love Rank Math. Thank you for making such a great plugin!

    I have a rather large website with several hundred pages, and it is using an automated translation plugin, TranslatePress.

    The plugin serves an translated version of the website with the language in the URL. For example, https://homepage.com/es/ would be the Spanish version. This has been fantastic for SEO, however it’s creating a massive sitemap.

    We would like the Spanish version of the site to be store in the sitemap, anything with the /es/, but we would not like the other languages to be stored in the sitemap. Getting SEO from those languages isn’t relevant for our community, and we need to trim down our site map.

    Is there a way to exclude content based on the URL path? Perhaps using some REGEX?

    The website is https://cdh.idaho.gov

    Thank you!

No replies were found here.

You must be logged in to reply to this ticket.