sitemal urls are not updated

#348744
  • Resolved Maulik
    Rank Math free

    Hi all,

    I have updated the category slug name for the website https://www.samedaypros.com before a few days ago. It appears that the RankMath sitemap index has not been updated to reflect this (https://www.samedaypros.com/sitemap_index.xml). The last modified date on that is a month ago. Please can you advise? I have cleared the WP cache.

    I already did the following steps, but still not working

    1. added the code in nginx configuration https://i.imgur.com/fCDrF7F.png
    2. deleted ā€˜sitemap-cacheā€™ folder
    3. settings -> permlinks and hit the ā€œsave changesā€ button

    Thanks,
    Maulik

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Please add this filter to exclude the sitemaps from caching:

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

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/#code-snippets-plugin

    Once done, clear your website cache and check the sitemap.

    Hope that helps.

    Looking forward to helping you.

    Maulik
    Rank Math free

    It works well, Thank you very much.

    Hello,

    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 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.