1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Sitemap garbled

Discussion in 'Troubleshooting and Problems' started by Martok, Sep 18, 2014.

  1. Martok

    Martok Well-Known Member

    I've just been checking the sitemap on my site and for some reason the contents are garbled.


    (I did try to add it to this post but the file type isn't permitted)

    I've checked other sitemaps and of course they show the URLs quite clearly, so something is wrong with mine.

    I tried disabling all add-ons and rebuilding the sitemap cache but I still get the same thing. I've never used a sitemap add-on prior to the addition in 1.4 so it can't be anything to do with that.

    I'm not sure what the problem is or what next to check.
  2. Mike

    Mike XenForo Developer Staff Member

    It appears to be double gzipped. This would likely imply that your server is gzipping it again as disabling gzip in my browser appears to allow it to work correctly. I'm not sure what element of your server is gzipping it though.
  3. Liam W

    Liam W Well-Known Member

    Worked fine for me, once I un gzipped it.
    Last edited: Sep 18, 2014
  4. Martok

    Martok Well-Known Member

    Thanks Mike. I've contacted Nimbus to find out what is going on.

    Interesting. I've just tested with Chrome and Firefox on Windows 7 and both give the double gzipped file. However with IE11 it doesn't.

    It's definitely a problem with the server - I've checked with a couple of other XenForo sites and they correctly give a single gzipped XML sitemap file when using Chrome.
  5. Liam W

    Liam W Well-Known Member

    Your output method appears the same as XF Liam - a file ending in .xml.gz, which when unzipped shows a single xml file with readable text...

    I tried it with Chrome on Android and Mac OS.


  6. Martok

    Martok Well-Known Member

    Yes, I know about what it outputs. Clearly there is something else at play here though as it is definitely double gzipped in Chrome and Firefox on Windows 7. However if you use exactly these browsers on other XenForo sites it isn't double gzipped.
  7. Martok

    Martok Well-Known Member

    The issue has now been resolved. :)

    I asked Nimbus what they did to fix this and they responded:

    Hopefully this will help if anyone else has the same problem.
    dethfire likes this.

Share This Page