Error on line 1 at column 1282: XML declaration allowed only at the start of the

#515226
  • Resolved Lacrosse Halt
    Rank Math free

    Hi, I am having the following issue:

    error on line 1 at column 1282: XML declaration allowed only at the start of the document

    I don’t know what’s that and how to solve this. Can you please help me with that?

Viewing 1 replies (of 1 total)
  • Hello,

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

    Can you please share your sitemap URLs with us so we can check this further for you?

    However, usually this is caused by some blank line or space in your wp-config.php or functions.php file. So, you can check these files and see if there are any blank lines available or not.

    Here’s a link you can follow for more information:
    https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration

    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 ‘Error on line 1 at column 1282: XML declaration allowed only at the start of the’ is closed to new replies.