Support » Theme: Meteorite » Sitemap

  • Resolved juanmzc

    (@juanmzc)


    Hi there,

    I can’t open my website sitemap https://alternativedebt.com.au/sitemap_index.xml as I’m getting the following error:

    “This page contains the following errors:
    error on line 3 at column 6: XML declaration allowed only at the start of the document”

    I asked Yoast SEO for this and they provided me with the following link: https://kb.yoast.com/kb/xml-sitemap-error/

    It seems it is a theme issue as it is adding 2 empty lines on all pages. Can you provide me with assistance finding and removing the empty lines?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author terrathemes

    (@terrathemes)

    Hi,

    I checked all files from the theme and none of the php files has whitespace in front of the opening php tags.

    Can you please check the files you may have modified?
    The whitespace is also in your source code. Do you have a caching plugin or code-minify plugin active? Please try to deactivate this and see whether this is solved.

    Hi,

    Thanks so much for your help. I fixed it (it was due to a plugin).

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