Sitemap can be read, but has errors

#84718
  • Resolved Enea
    Rank Math pro
    Content AI Starter

    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 4 years, 2 months 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.

    Enea
    Rank Math pro
    Content AI Starter

    Thanks Michael.

    Enea

    • This reply was modified 4 years, 2 months 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.

    Enea
    Rank Math pro
    Content AI Starter

    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

    Alberto
    Rank Math business

    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.

    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 can be read, but has errors’ is closed to new replies.