You are not logged in.
Pages: 1
We are running a website with +- thirty thousand pages on BigtreeCMS that almost works flawlessly. The only problem we are facing right now is that the sitemap.xml isn't made correctly.
We are getting the next error
This page contains the following errors:
error on line 1 at column 7: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.
version 4.3.2
Last edited by daansk44 (January 27, 2019 5:06pm)
Offline
Can you point me to the site map URL so I can view the source? Thanks!
Offline
Offline
<?xml version="1.0" encoding="UTF-8" ?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc>https://froets.nl//</loc></url>
<url><loc>https://froets.nl/producten/</loc></url>
<url><loc>https://froets.nl/productcategorieen/</loc></url>
<url><loc>https://froets.nl/zoek-op-categorie/</loc></url>
<url><loc>https://froets.nl/cronjob/</loc></url>
<url><loc>https://froets.nl/producten/drinkwaren/flessen/</loc></url>
Offline
It looks like there's a space at the beginning of the file which is throwing it off. Make sure everything in /custom/inc/required as well as your /custom/environment.php and /custom/settings.php does not output any empty lines (easiest way is to not close your PHP tags in environment and settings).
Offline
Pages: 1