• Anonymous User 15680313

    (@anonymized-15680313)


    Hi all,

    I updated my WordPress website and was looking into the sitemap and saw that there is an error.

    XML-parsefout: XML- of tekstdeclaratie niet aan begin van entiteit
    Locatie: https://educatiespeelgoed.nl/wp-sitemap.xml
    Regelnummer 2, kolom 1:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    ^

    Anyone know how to fix this issue?

Viewing 1 replies (of 1 total)
  • Moderator Yui

    (@fierevere)

    永子

    You have an empty string at the beginning of all your pages
    it doesnt really make that fatal error for HTML, but invalidates XML.

    Usually this problem occurs when you have edited something, like your theme functions.php or sometimes wp-config.php and put “return” symbol outside of <?php ?> block

    You can switch to other theme to check if problem is in your theme functions.php
    You can deactivate plugins and then activate them one by one, to find which one causes the problem. But it will be good to start with checking your wp-config.php

Viewing 1 replies (of 1 total)

The topic ‘Error wp-sitemap.xml’ is closed to new replies.