Homepages in sitemap when using WPML

#45602
  • Resolved Constantin
    Rank Math business

    When translating a homepage with WPML, Rank Math includes the homepage slugs in the page sitemap even though they 301 to the homepage and should be ignored just like the homepage slug of the base language. When manually excluding the page IDs in Rank Math settings, they still show up in the page sitemap, so this doesn’t work either as a workaround.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Todd
    Rank Math free

    Hi Constantin,

    Thanks for getting in touch with us.

    It appears to be only happening with you. It is working fine on our test install:
    https://i.rankmath.com/qhdWYt

    We are taking a closer look and we will get back to you when we have an update.

    Thank you.

    Hello,

    I logged into your site and I cleared the cache from Closte cache settings. That seemed to have fixed the issue. Can you please confirm?

    Thank you.

    Constantin
    Rank Math business

    Thanks guys, this seems to be fixed on staging indeed! Could you tell me where exactly you cleared Closte cache? Of course I had already tried this multiple times, but can’t get this to work in the production environment. “Closte -> Clear OP & Object Cache”, “Closte -> Clear CDN Cache”, “LSCache -> Purge All”. Did all that more than once and the issue isn’t going away on prod (https://www.socialmediadaily.com/page-sitemap.xml). Did you change any other settings at all?

    Constantin
    Rank Math business

    P.S. Nevermind, I figured it out. So looks like I had to set the page ID sitemap exclusions for all languages to make this work. However, without manually excluding homepages, they still end up in the sitemap, so maybe still something to look at unless it’s just that my setup is messed up. I did use Permalink Manager previously which did mess up a few things, so might be related to some buggy permalink data left over from that. Thanks for your help, you’re amazing! :))

    Alberto
    Rank Math business

    Hello Constantin,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.