Support » Plugin: Better WordPress Google XML Sitemaps (support Sitemap Index, Multi-site and Google News) » XML Parsing Error: XML or text declaration not at start of entity

  • Resolved justinblayney

    (@justinblayney)



    Hello,

    I am getting this error on almost every website I use this plugin

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://www.justinblayney.com/sitemapindex.xml
    Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>

    I checked for blank spaces in functions.php, that didn’t help

    https://wordpress.org/plugins/bwp-google-xml-sitemaps/

Viewing 2 replies - 1 through 2 (of 2 total)
  • May be a blank space or CR/LF extra in your theme, for me deleting an extra end of line on style.css of a child theme was enough but not sure at all. I hope it could help.

    Plugin Author Khang Minh

    (@oddoneout)

    @dmgonzam exactly. When having this kind of issue, turning on Debug mode or Extra debug mode will allow you to see the actual error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘XML Parsing Error: XML or text declaration not at start of entity’ is closed to new replies.