Double link in sitemap

  • Resolved Kees

    We changed a blogpost URL a few weeks ago. Since then is the new URL and the old URL visible in the sitemap. We have already tried all solutions of the forum such as;

    1. Head over to WordPress Dashboard > Settings > Permalinks

    Hit the save button once.

    2. Go to WordPress Dashboard > Rank Math > Sitemap Settings

    Hit the save button once or delete cache etc.

    But both URL’s are still in the sitemap. Although the date of the old url is no longer updated in the sitemap, it remains in the sitemap. What is the solution?

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I think we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Hello,

    You sitemap appears to be cached on your site, check the screenshot I have attached in the sensitive section

    Looking forward to helping you. Thank you.

    ​​​​​​

    Before submitting this ticket, I already made some changes to that plugin (Recommended by RankMath: https://wordpress.org/support/topic/rank-math-and-w3-total-cache-plugin-alongside-issues/) . Below the change. If you know the solution feel free to change the settings and let me know here.Thanks in advance.

    Never cache the following pages:
    wp-.*\.php
    index\.php
    sitemap(_index)?\.xml(\.gz)?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
    ([a-z0-9_\-]*)?\.xml
    (.*)sitemap(.*)

    In the sitemap /page-sitemap.xml also includes the following link which does not exist. This must also be removed from the sitemap.

    https://www.example.com/en/home/

    • This reply was modified 2 weeks, 2 days ago by Kees.

    After research I found out if it is because of the WPML plugin. I was able to delete 1 page. The others not yet.

    Hello,

    It is not just Rank Math but your feed URL is showing the /en/home/ part in the source code too.

    Please try to contact WPML and once the URL is internally fixed, it will be automatically reflected in the Sitemap since the sitemaps are automatically generated from the URLs saved in the WordPress and it seems to be incorrect as you can see in the above screenshot.

    Will do that. Thanks.

    Hello,

    Happy to help!

    Please feel free to open a new support ticket in case you need any other assistance.

    Thank you.

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

The ticket ‘Double link in sitemap’ is closed to new replies.