Sitemap error:This page contains the following errors: error on line 2 at column

#65150
  • Resolved Manish Rahangdale
    Rank Math free

    This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document

    Help me solve this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alberto
    Rank Math business

    Hello,

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

    It usually happens when there is some white space at the end of an important file of your theme (and even on some plugins). You can try to find it and if not 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.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have updated a temporary login URL at the sensitive data area.
    Please have a look…

    Hello,

    I have checked your plugins and theme and plugins but they don’t seem to be the cause of the issue. Could you please check your wp-config file for any blank line or unexpected character.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hey
    I figured it out.
    It was a blank space in the first line of wp-config.php
    Thanks for the response.
    Good day

    Hello,

    We are super happy that this resolved your issue.

    Please let us know if we can close this and mark it resolved.

    Do not hesitate to let us know if you have any further questions.

    Thank you.

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

You must be logged in to reply to this ticket.