i tried many times and different method but not solve

#574256
  • Resolved Anonymous
    Rank Math free

    Incorrect http header content-type: “text/html; charset=UTF-8” (expected: “application/xml”)

    please solve this issue.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    I assume that you are referring to your Sitemap.

    For initial troubleshooting, Please follow the steps below:

    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/

    3. Add the filter code to your theme’s functions.php file:

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

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If the issue persists, please share your website URL in the sensitive data section of this ticket so we can check it for you.

    Looking forward to helping 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 1 replies (of 1 total)

The ticket ‘i tried many times and different method but not solve’ is closed to new replies.