Title: Content Encoding Error for XML Sitemap
Last modified: August 21, 2016

---

# Content Encoding Error for XML Sitemap

 *  [Uli](https://wordpress.org/support/users/uli/)
 * (@uli)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/content-encoding-error-for-xml-sitemap/)
 * [http://skinnychef.com/sitemap_index.xml](http://skinnychef.com/sitemap_index.xml)
   lists five sitemaps – the first [http://skinnychef.com/post-sitemap1.xml](http://skinnychef.com/post-sitemap1.xml)
   results in an error message that prevents search engines access:
 * “Content Encoding Error – The page you are trying to view cannot be shown because
   it uses an invalid or unsupported form of compression.”
 * It’s only with this single XML sitemap, the others are working fine. I cleared
   all caches. How do I “rebuild” the sitemap in question?
 * [http://wordpress.org/plugins/wordpress-seo/](http://wordpress.org/plugins/wordpress-seo/)

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

 *  [mikeotgaar](https://wordpress.org/support/users/mikeotgaar/)
 * (@mikeotgaar)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/content-encoding-error-for-xml-sitemap/#post-4261551)
 * Try unchecking the Yoast XML Sitemap box and saving (then clear all caches), 
   re-check the box and save again…
 *  Thread Starter [Uli](https://wordpress.org/support/users/uli/)
 * (@uli)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/content-encoding-error-for-xml-sitemap/#post-4261554)
 * Mike,
    tried that. Didn’t work.
 *  [mikeotgaar](https://wordpress.org/support/users/mikeotgaar/)
 * (@mikeotgaar)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/content-encoding-error-for-xml-sitemap/#post-4261557)
 * [@uli](https://wordpress.org/support/users/uli/)
    It’s caused by an XML Parsing
   error (Firefox shows this briefly – in line 1 column 1 – before loading the error
   page) – which is usually caused by a couple of blank lines at the end or start
   of a .php file somewhere. May not even be the WordPress SEO plugin… It could 
   be in the theme – or another plugin.
 * Try installing and running Fix My Feed RSS Repair Plugin
    [http://wordpress.org/plugins/fix-my-feed-rss-repair/](http://wordpress.org/plugins/fix-my-feed-rss-repair/)
   to find white spaces (This extra line error also occurs with RSS feeds)
 * There IS an extra line at the end of wordpress-seo/inc/class-sitemaps.php you
   could try removing…
 * If that doesn’t work – you can try the classic way of finding a conflict – re-
   install WordPress, disable all other plugins, and switch to default theme.
 * Start with the default theme…
 * If that fails, you could get a developer to inspect your site files – or just
   switch to another sitemap plugin…
 *  Thread Starter [Uli](https://wordpress.org/support/users/uli/)
 * (@uli)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/content-encoding-error-for-xml-sitemap/#post-4261565)
 * Mike,
    thanks for chiming in. [1] I removed extra lines in the “WordPress SEO”
   plugin files (/inc), bu that didn’t resolve the issue.
 * [2] I ran Fix My Feed RSS Repair, but it didn’t help either. Plus, now my feed
   is not working anymore: [http://skinnychef.com/feed](http://skinnychef.com/feed)
 * (The page isn’t redirecting properly. Firefox has detected that the server is
   redirecting the request for this address in a way that will never complete.)
 * Argh

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

The topic ‘Content Encoding Error for XML Sitemap’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Uli](https://wordpress.org/support/users/uli/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/content-encoding-error-for-xml-sitemap/#post-4261565)
 * Status: not resolved