Sitemap Error

#468010
  • Resolved Adm cmalex
    Rank Math free

    Hello,

    The sitemap generated with rankmath has errors. Need help on how to fix this.

    Error: “error on line 2 at column 6: XML declaration allowed only at the start of the document”

    Website: cmalex.net

    Please the content attached below.

    Thanks,
    Marco

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I’ve checked the sitemap URL you’ve shared with us and indeed there’s an error of XML declaration.

    The error you are encountering on your sitemap page, because there is a white spaces before the XML Sitemap’s source code.

    I’ve added a screenshot in the sensitive data section for your reference.

    Please try following the guide below in order to fix this issue:
    https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration

    Let us know how it goes. Looking forward to helping you.

    Thank 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 ‘Sitemap Error’ is closed to new replies.