You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to access the sitemap.xml, it shows me the 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.
Steps to reproduce
Open up baseurl/sitemap.xml
Additional info
Craft version: 4.5.13
SEO version: 4.2
PHP version: 8.1
Database driver & version: mysql
Other Plugins: many
The text was updated successfully, but these errors were encountered:
One of our clients has the same issue, but it only appears on the sitemap for one of the languages setup for their website. Additionally, the main sitemap.xml seems to be working fine, but the underlaying sitemaps which are referred to in that document all have the error mentioned above by @fabianhaef .
For the English site, which is the primary site, everything seems to be fine and no blank lines can be found in any of the XML files.
Description
When I try to access the sitemap.xml, it shows me the 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.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: