Sitemap can be read, but has errors

  • Sitemap can be read, but has errors
    Sitemap is HTML
    1 instance
    Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.
    Hi guys,
    I get this error for all the sitemaps links in my Google Search Console.
    I have read a previous ticket with my same error and I tried to follow the instructions that you provided to the post write but no success.
    Please let me know.
    thanks
    Enea

    • This topic was modified 1 week, 3 days ago by Enea.
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.

    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.

    Thanks Michael.

    Enea

    • This reply was modified 1 week, 2 days ago by Enea.

    Hello,

    Thank you for

    I added the following rules in LiteSpeed > Cache > Excludes

    
    /sitemap_index.xml
    /post-sitemap.xml
    /page-sitemap.xml
    /product-sitemap.xml
    /oceanwp_library-sitemap.xml
    /ocean_portfolio-sitemap.xml
    /category-sitemap.xml
    /post_tag-sitemap.xml
    /product_cat-sitemap.xml
    /product_tag-sitemap.xml
    /pa_size-sitemap.xml
    /ocean_portfolio_category-sitemap.xml
    /ocean_portfolio_tag-sitemap.xml
    

    That should exclude you r URLs from being cached on your site which is the common cause for the html in sitemap issue.

    Please head to your GSC, remove any submitted sitemap and submit only the main sitemap( sitemap_index.xml)

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Hi Michael,
    I have the same issue.
    Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

    Please let me know.
    thanks

    Hello,

    I think it is due to the maintenance mode, that is redirecting every not logged request to a landing page (in HTML). Once you disable the maintenance mode, it should work without any issue.

    Looking forward to help you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.