Title: Sitemap Error
Last modified: August 31, 2016

---

# Sitemap Error

 *  Resolved [ozarkwoodworker](https://wordpress.org/support/users/ozarkwoodworker/)
 * (@ozarkwoodworker)
 * [10 years ago](https://wordpress.org/support/topic/sitemap-error-40/)
 * Recently I noticed a sitemap error in Google Search Console. It stated: “Unsupported
   file format”. I use WP-Rocket for caching. I’ve contacted their support, and 
   they stated that they don’t cache sitemaps.
 * This is what my sitemap generates:
 * “XML Parsing Error: XML or text declaration not at start of entity
    Location:
   [http://ozarktoolmanuals.com/sitemap_index.xml](http://ozarktoolmanuals.com/sitemap_index.xml)
   Line Number 2, Column 1:<?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet
   type=”text/xsl” href=”//ozarktoolmanuals.com/main-sitemap.xsl”?> ^”
 * This it. I’ve search everywhere for a solution, but I haven’t come up with anything.
 * Thanks
 * I’m using Yoast SEO Version 3.2.4
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

The topic ‘Sitemap Error’ 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/)

## Tags

 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 0 replies
 * 1 participant
 * Last reply from: [ozarkwoodworker](https://wordpress.org/support/users/ozarkwoodworker/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/sitemap-error-40/)
 * Status: resolved