• http://domain.com/sitemap_index.xml

    There is an error so we can’t send our sitemap to google.

    This page contains the following errors:
    error on line 8 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    the error line is this.. (1st line of whole source)

    <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://domain.com/main-sitemap.xsl"?>

    How can I fix it?

    I have tried to remove all of codes in function.php but it happens the same error.

    1 more thing,

    I have found whitespace problem. I don’t really understand white space problem.

    does it mean it should be like this? “hello how are you?”
    I don’t really think so..

    Thanks,

    http://ww.wp.xz.cn/plugins/wordpress-seo/

The topic ‘error on sitemap.xml’ is closed to new replies.