Domains + WPML + RM Sitemaps

#139015
  • Resolved Andrius | Adguns.lt
    Rank Math free

    Hi guys,

    recently we’ve migrated to RM Plugin, and spotted one strange error with sitemaps. We are using WPML and Lithuanian (LT) language as main language on WPML.

    We have logic/structure with domains and it is controlled by WPML:

    domain.com
    domain.pl
    domain.lt

    etc.

    Every domain has /sitemap_index.xml and that is fine, but it looks like the content inside the sitemaps are mixed up. Our main language is LT (lithuanian) and it looks like on other languages/domains somewhy the sitemap contains links that are from LT version (although there is no content in the corresponding language). This triggers 404 errors in sitemap.

    Is there a way to fix this mess?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Can you please follow these steps?

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/xXXhDt

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    I hope that helps. Thank you, and looking forward to your update.

    @Reinelle – thank you for your reply.

    a) I did try to reset the Sitemap setting + Permalinks
    b) Also did check the Sitemaps

    We do use CloudFlare, it may have cache, but cache is easy to avoid if we add some parameters to the url like ?v=12456

    I’ve added a couple of links above to Sensitive Data, so you can check that the situation remains the same.

    Hello,

    That is quite weird.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), would you please check for a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If this doesn’t help, please record a video screencast using a tool like Loom showing the troubleshooting and edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Hi Michael,

    thank you for your reply.

    We use custom Theme, but I do see we need to update some Plugins to the latest versions. So we will run a Maintenance and lets see how it goes after that.

    Will come back to this a bit bit later, after we are DONE with the updates on our side.

    Hello,

    Thank you for letting me know.

    Let us know how this goes. Make sure to clear your cache and if possible test your sitemap with a private or incognito browser to avoid any browser related caching too.

    Let us know how it goes.

    Thank

    Hi guys,

    hope you are doing well.

    We’ve updated all the Plugins (WPML, RM, other). We’ve cleared the cache (RM sitemap cache), Updated permalinks structure etc. And the situation stays the same.

    I did ask our developers to have a look (at RM at WPML) and check a bit how do you collect Sitemap links. We will come back to this issue a bit bit later with some more info on our side.

    Thanks!

    Hello,

    Thank you for the update.

    If it’s still not working, could you please also try using a 3rd party sitemap plugin and see if the issue still persists? Just make sure you have disabled the Sitemap module of Rank Math in WordPress Dashboard > Rank Math > Dashboard when using a 3rd party sitemap plugin.

    If the other plugin works, please do let us know.

    Thank you, and we really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hey. Yes, with other plugin it works, sitemaps are generated properly (EN sitemap does not have LT links etc.)

    Screenshot added to the Sensitive Data. UPDATE 002

    Hello,

    Thank you for keeping in touch.

    Given the issue seems to happen with only the translated versions of the sitemaps, it may be something to do with your settings. Have you tried contacting WPML support?

    Rank math usually just creates the default domain sitemap and WPML handles other translated sitemaps.

    If you haven’t please try getting in touch with them to see if they may be able to help in resolving this.

    Looking forward to helping you.

    Hey,

    thank you for your reply.

    Well you see, WPML + Yoast SEO handles the sitemaps properly. WPML + RankMath – looks like not. Not sure why is this happening, but you are right, this is connected to both Plugins somehow. RankMath + WPML.

    As we understand WPML works well, no issues there. Something is a bit broken in RM sitemaps, and only sitemaps (everything else works well). WPML does not build sitemaps, rather RM builds sitemaps, and something is a bit broken there with sitemaps. We doubt a bit that WPML can fix or investigate RM sitemaps thing – not their issue.

    But you have a good point there, issue appears only on “Translated versions”. Thanks for pointing that out!

    Anyway, let’s see how it goes. We will investigate the issue on our own a bit and maybe contact WPML team later if needed. And will post an update here, may be useful for someone later on.

    Hello,

    Thank you for that additional information.

    We will keep this ticket open and let us know WPML’s update about this issue.

    In the meantime, please don’t hesitate to contact us anytime to assist you further with anything else.

    Thank you, and looking forward to your update.

    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.

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

The ticket ‘Domains + WPML + RM Sitemaps’ is closed to new replies.