Support » Plugin: SEOPress - On-site SEO » Request problem Sitemap XML

  • Hello,

    I just installed your plugin and intend to take the pro offer until I discover this error which puts me in doubt?

    This page contains the following errors:
    error on line 3 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.

    I never had this kind of problem on any other SEO plugin ?

    I thank you in advance

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    there is an empty line at the beginning of your xml sitemap source code.

    It’s probably a bad opening/closing PHP tag.

    Check your header.php, wp-config.php… files.

    Let me know if you can’t find the issue.

    Hope it helps!

    I have a similar error
    This page contains the following errors:
    error on line 1 at column 24: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    Right now it is on a stage site that I can’t give access to
    Since there are now two people with same kind if error it would seem it is not theme related.

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    This is not related to SEOPress but in 99% of cases, it’s a bad opening / closing PHP tag in your wp-config.php, header.php, functions.php…

    It can also be a plugin conflict that doesn’t correctly enqueue its CSS/JS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Request problem Sitemap XML’ is closed to new replies.