Sitemap not updating

#88664
  • Hello,
    I hope you(re doing well !

    I have made an On-page SEO via Rankmath, so I changed some Urls and others things. Now I want to submit the sitemap to Google, but It seems that the sitemap is not updated in Rankmath.. How Can I solve this Please?

    PS : I m not using a caching plugin.

    I don’t want some pages to be indexed, how can I delete them from Sitemap Please?

    Thank you !

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

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

    You can set those pages as no-index and then force the sitemaps to refresh by going to the WordPress Dashboard > Settings > Permalinks and resaving the permalinks.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,
    Thank you for your feedback.

    I tried that but it didn’t work.. IS there any other solution please?

    Thanks !

    Hello,

    In that case, 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,

    Rank math usually has a default caching mechanism which is flushed when a new post is published. It is likely your sitemap were being cached this way. I added the following filter to disable this and now your sitemap should update just fine:

    
    /**
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_true');
    

    If the issue seems to persist, please share some of the URLs you wish to remove from sitemap so we can test check from our end.

    Looking forward to helping you. Thank you.

    ​​​​​​

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

The ticket ‘Sitemap not updating’ is closed to new replies.