Support » Plugin: Yoast SEO » sitemap not generate

  • Resolved Urmil Patel


    I have setup proper but sitemap currently not working

    XML Parsing Error: XML or text declaration not at start of entity
    Location: /sitemap_index.xml
    Line Number 1, Column 2:
     <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" /wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jerlyn


    Hi @urmilwp ,

    Sorry to hear about the issue you are having with your sitemap. An empty whitespace or a blank line on a sitemap appears due to a conflict with another plugin or your theme. Usually, there is an empty space or a blank line before or after the closing PHP opening or closing tag, which shouldn’t be there.

    You can narrow down the exact source of conflict by performing a conflict check. Once you have identified whether your theme or a plugin causes the issue, please contact the developers of that theme or plugin for assistance in finding and removing the whitespace.

    Thread Starter Urmil Patel


    Hi Jerparx,

    Thank you very much for your quick support.

    My error is solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sitemap not generate’ is closed to new replies.