My Tag Sitemap getting google error “Your file appears to be an HTML page”

#601618
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    I’ve checked your post-tag sitemap, and it seems to be opening fine and included in your index sitemap.

    In this case, please follow the steps below to ensure that your sitemaps are not getting cached (if not yet):

    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/

    If the issue still persists, please try adding this filter to your active theme’s functions.php file:

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

    Once done, remove all your submitted sitemaps and resubmit your main sitemap only:
    https://rankmath.com/kb/submit-sitemap-to-google/

    Hope that helps.

    Thank you.

    Anonymous
    Rank Math free

    Thanks
    Its ok right now. Working fine

    Hello,
    
    You’re welcome.

    We are super happy that this issue is already 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘My Tag Sitemap getting google error “Your file appears to be an HTML page”’ is closed to new replies.