• I am trying to use SEOPress on our site but, like many other users, I receive an error when I try to access our sitemaps.xml document:

    “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.”

    And the rendering outputs precisely nothing. Note that I tried the added line of code solution suggested here:

    https://ww.wp.xz.cn/support/topic/error-in-sitemap-xml-2/

    to no avail — neither suggested numbered line, BTW, begins with “foreach.” Please advise on how to proceed and thanks.

    The page I need help with: [log in to see the link]

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

The topic ‘Sitemaps.xml error’ is closed to new replies.