error on line 2 at column 6: XML declaration allowed only at the start of the do

#638853
Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Hello,

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

    We’ve checked your page sitemap and we can see it is working properly without any issue. Here’s a screenshot for reference:

    If you’re still facing the issue, please try to clear your browser cache and chck again.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Hello Mr. Rakibuzzaman Siam,
    My name is Vishal Verma, Senior Developer.
    I know the pages are fixed because I fixed them. But thank you for looking into this matter.
    I will explain how it’s solved.
    The main problem is size, actually. I have over 900 pages and set Rank Math settings to show 1,000 links on a page. But I have also checked the images into the sitemap, so the result is that it takes a lot of data and loading time. If we uncheck the images in the sitemap, then the pages load easily without errors.
    I hope you and your team will look into this problem and solve it.

    Best regards,
    Vishal Verma

    You can now send this corrected message to the support team.

    Hello,

    I am glad that you are able to resolve the issue and thank you so much for the detailed steps you shared to resolve it.

    Assuming you have a lot of images per post, our plugin will look for each post’s content for those images to include it in the sitemap which will require server resources so the only way to address that is:

    1. Decrease the Links Per Sitemap to divide the sitemaps into parts which is perfectly fine for search engines.

    2. Increase your memory limit and CPU in your server to handle such operations when loading the sitemap.

    Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.

    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘error on line 2 at column 6: XML declaration allowed only at the start of the do’ is closed to new replies.