google sitemap generator error

5 replies
  • SEO
  • |
hi dear friends
i'm using google sitemap generator by arnee v4.0beta11
unfortunately it has problem in sitemap:

error on line 27 at column 6: XML declaration allowed only at the start of the document

i don't know how to solve it
please help me

have a great day
thanks and good luck
#error #generator #google #line 27 at column 6 #sitemap
  • Profile picture of the author bajakan
    It will be difficult to help without a link to the exact one you're using and your own site data. However, the problem seems to just be that the first line of the xml file is appearing somewhere else, maybe you can edit the file and remove <xml references anywhere except for the first line.
    {{ DiscussionBoard.errors[8801381].message }}
    • Profile picture of the author mohairan
      Originally Posted by bajakan View Post

      It will be difficult to help without a link to the exact one you're using and your own site data. However, the problem seems to just be that the first line of the xml file is appearing somewhere else, maybe you can edit the file and remove <xml references anywhere except for the first line.
      hi dear friend
      please check
      hxxp://bit.do/error-on-line-27-at-column-6

      have a great day
      thanks and good luck
      {{ DiscussionBoard.errors[8801412].message }}
  • Profile picture of the author yukon
    Banned
    For some reason you have 26 lines before <?xml version="1.0" encoding="UTF-8"?> at the start of your xml file.

    I run the same sitemap, works fine.

    Delete the current sitemap plugin then download a fresh copy of the plugin, see If that helps.
    {{ DiscussionBoard.errors[8801647].message }}
    • Profile picture of the author mohairan
      Originally Posted by yukon View Post

      For some reason you have 26 lines before <?xml version="1.0" encoding="UTF-8"?> at the start of your xml file.
      dear yukon i can't find the reason for that
      how to solve it? ( that problem exist in all of my site pages )

      Originally Posted by yukon View Post

      Delete the current sitemap plugin then download a fresh copy of the plugin, see If that helps.
      dear yukon
      unfortunately uninstalling and reinstalling can't solve problem
      i checked last google indexes of my site and they are very old
      sitemap problem can kill my site google index
      please help me

      thanks for response
      have a great day
      Good Luck
      {{ DiscussionBoard.errors[8803616].message }}
  • Profile picture of the author mohairan
    problem solved with fix-rss-feed plugin
    {{ DiscussionBoard.errors[8804219].message }}

Trending Topics