• Resolved advt12

    (@advt12)


    Hi
    In my sitemap.xml, i get below error:

    This page contains the following errors:
    error on line 11 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.

    I searched lot in google and also delete my blank lines in wp and theme files.
    what can i do?
    Thanks in advance.

    https://wordpress.org/plugins/google-sitemap-generator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Arne

    (@arnee)

    Hi,

    if you can’t find the link causing this issue, you can try this fix:

    http://wejn.org/stuff/wejnswpwhitespacefix.php.html

    But I recommend you to find the “evil” file, since your RSS feeds ale probably also broken at the moment.

    Thread Starter advt12

    (@advt12)

    tnx for your answer but i tried that and my problem not fixed.
    But i should say my errors decreased to 7!! 🙁
    http://downloadcity.ir/sitemap_index.xml

    what else can i do?!?

    Arne

    (@arnee)

    The sitemap_index.xml does not come from this plugin, are you using another plugin?

    Thread Starter advt12

    (@advt12)

    oh excuse me, yes that link is for another plugin.
    sitemap for this plugin also has same error:
    http://downloadcity.ir/sitemap.xml

    plz help me! i have no idea :((

    Thread Starter advt12

    (@advt12)

    I solved My Problem 🙂
    I read sitemap.xml source file and understand that a php file in my includes/functions of theme have some blank lines. after i deleted whole file, problem fixed 🙂

    Downloadcity will be rise soon, invite you to visit it:
    DownloadCity

    tnx for everything 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘error on line 11 at column 6’ is closed to new replies.