Support » Plugin: Google XML Sitemaps » sitemap.xml with XML Parsing Error

  • Resolved TZSUI

    (@tobyzenerino)


    Hi all,
    I registered some days ago that there is a Problem with Google XML Sitemaps Plugin on my page while loading sitemap.xml.

    I got following failure, but was until now unable to fix this (1. Deactivate plugin. 2. Remove and install plugin again 3. deactivate specific .htaccess and WP hardening options)

    Google XML Sitemaps Plugin Version: 4.0.9

    XML Parsing Error: XML or text declaration not at start of entity
    Location: https://www.zenerino.ch/sitemap.xml
    Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="https://www.zenerino.ch/wp-content/plugins/google-sitemap-generator/sitemap.xsl"?><!-- sitemap-generator-url="http://www.arnebrachhold.de" sitemap-generator-version="4.0.9" -->

    On my test site the plugin is running well and generating the xml site as expected. I just got on the production site this failure. I use the plugin Autoptimize. Could this maybe generate this error?
    Does anyone have an idea how to solve this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.