Sitemap Error

#45025
  • Resolved Loud Techie
    Rank Math free

    Hello,

    I am getting this sitemap error.

    This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    Can you please guide me on how to fix it?

    Regards
    Alok

Viewing 3 replies - 1 through 3 (of 3 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.

    I have checked your website and the error was a few white spaces you had at the end of the functions.php file in the parent theme.

    I removed them and emptied the cache and now your sitemap is working fine. Can you check it and let me know if everything is fine at your side?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Alberto,

    Thanks for the help. Yes its working fine now. Thank you so much.

    Todd
    Rank Math free

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Sitemap Error’ is closed to new replies.