RankMath Sitemap Not Updating with Slug Changes on Website

#802971
  • Resolved Anonymous
    Rank Math free

    Dear RankMath Support Team,

    I am writing to bring to your attention an issue I am facing with RankMath on my website, forex-house.com. Upon updating the slugs on my website and in the theme, I noticed that the changes did not reflect in the RankMath sitemap. Specifically, the URL in question is https://forex-house.com/casino-sitemap.xml, which should now be updated to reflect the new slug “Brokers”

    To assist you in troubleshooting this issue, I will provide the necessary login credentials (email and password) for the website in a secure manner. Additionally, please rest assured that I have backups of all relevant data, so any changes can be made with confidence.

    I would greatly appreciate your assistance in resolving this matter. If possible, could you provide guidance on how to ensure that the RankMath sitemap accurately reflects the changes made to the slugs on my website?

    Thank you for your attention to this matter. I look forward to your prompt response.

    Best regards,
    Samuel

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

    I apologize for the issue you are facing with the Rank Math sitemap not updating with the slug changes on your website. Thank you for providing detailed information about the problem you are encountering.

    To address the discrepancy between the slugs on your website and the Rank Math sitemap, you can follow these steps:

    1. Ensure that you have submitted the correct XML sitemap to Google. The sitemap URL should be in the format: https://www.yourwebsite.com/fr/homepage-fr.

    2. Check for any unintended rules in the robots.txt file that might be blocking the sitemap URL. You can verify this by going to Rank Math SEO → General Settings → robots.txt.

    3. If you have custom canonicals set up, it might affect the sitemap generation. Rank Math includes a self-referencing canonical for all posts set to Index. If you have custom canonicals, they may not appear in the sitemap.

    If after following these steps, the issue persists, please consider checking for any plugin conflicts using the Health Check plugin as mentioned in our documentation: Check Plugin Conflicts.

    If none of these solutions resolve the problem, you can add a filter in your theme’s rank-math.php file to disable sitemap caching:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    For further assistance, feel free to reply to this ticket, and a human agent from our support team will assist you promptly.

    Thank you for your understanding, and we appreciate your patience while we work on resolving this issue for you.

    Best regards.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Multilingual SEO with Rank Math SEO & WPML » Rank Math

    Hello,

    Thank you for contacting Rank Math support, and sorry for the inconvenience this may have caused.

    We can see that the sitemap is updated to reflect the new slug “Brokers” by the time we checked as shown in the image below:

    We also logged in to flush the sitemap cache by following this video screencast below:
    https://i.rankmath.com/pipRDp

    We hope this helps and please don’t hesitate to let us know if you have any other questions.

    Thank you.

    Anonymous
    Rank Math free

    Dear Adetayo.

    Thank you for your prompt response and for looking into the issue.

    Unfortunately, the problem persists. The issue is not with the page you showed in the image, but rather with the previous page where it still says “casino.” I have attached a screenshot for your reference to illustrate the exact problem.

    Could you please assist in updating this specific section so it correctly reflects the new slug “Brokers”?

    Thank you again for your assistance. I look forward to your help in resolving this matter.

    https://resources.forex-house.com/oaDsX.png
    Best regards,
    Samuel

    Hello,

    That is taken from the CPT name and that still is called casino in the settings and you can see the same in the URL when you access the backend list page:
    Casino

    You would need to modify the CPT to a different name to be able to change the sitemap slug as well.

    Don’t hesitate to get in touch if you have any other questions.

    Anonymous
    Rank Math free

    Hello Miguel

    Thank you for your help and guidance! Your explanation about modifying the CPT name and sitemap slug is greatly appreciated.

    Have a great day!

    Best Regards,

    Miguel.

    Hello,

    We are glad to hear that this issue has been resolved. Thank you for letting us know. This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.

    We appreciate your patience and cooperation throughout this process.

    Thank you for choosing Rank Math.

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

The ticket ‘RankMath Sitemap Not Updating with Slug Changes on Website’ is closed to new replies.