Title: Request problem Sitemap XML
Last modified: July 26, 2020

---

# Request problem Sitemap XML

 *  [Frenchy](https://wordpress.org/support/users/k2300/)
 * (@k2300)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frequest-problem-sitemap-xml%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/request-problem-sitemap-xml/#post-13174427)
 * 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!
 *  [goodlab](https://wordpress.org/support/users/goodlab/)
 * (@goodlab)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/request-problem-sitemap-xml/#post-13189716)
 * 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](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/request-problem-sitemap-xml/#post-13202512)
 * 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.

 * ![](https://ps.w.org/wp-seopress/assets/icon-128x128.gif?rev=3158903)
 * [SEOPress - AI SEO Plugin & On-site SEO](https://wordpress.org/plugins/wp-seopress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seopress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seopress/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seopress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seopress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seopress/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/request-problem-sitemap-xml/#post-13202512)
 * Status: not resolved