Sitemap Showing Deleted Posts

#243451
  • Resolved Bobby
    Rank Math free

    Hi Team,

    The sitemap is showing all the deleted posts. Noticed this issue when google search console reported an error.

    Tried to clear cache from Cloudflare and also from WP- Rocket.

    Please advise

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

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    Can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    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. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    That should fix the issue. Please let me know if that does not. We are here to assist.

    Bobby
    Rank Math free

    Thanks for the quick reply. It worked.
    I have added exclusion in the plugin and also flushed cache as per video.
    Do I need to flush the sitemap cache from time to time? As I added exclusion it should be good going forward?

    Hello,

    If you have already excluded your sitemap from the caching plugins then there shouldn’t be any issues regarding the sitemap getting cached in the future.

    Hope this helps. Let us know if you need any further assistance.

    Bobby
    Rank Math free

    Thanks Jaideep !!

    Hello,

    We are super happy that your issue is resolved. 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Sitemap Showing Deleted Posts’ is closed to new replies.