Title: Adding an XML Sitemap rule?
Last modified: August 30, 2016

---

# Adding an XML Sitemap rule?

 *  Resolved [Craig](https://wordpress.org/support/users/craigrkirkby/)
 * (@craigrkirkby)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-an-xml-sitemap-rule/)
 * Hi
 * I’m new to this plugin but I’m really enjoying it.
 * This may be a silly question. I use Yoast SEO and submit the XML Sitemaps generated
   by this plugin to Google Webmaster Tools. The XML Sitemap looks like this: **/
   sitemap_index.xml**
 * Here’s the question. Do I add this to **ZenCache > Clearing the Cache > Auto-
   Clear “XML Sitemaps” Too?** ?
 * By default, this is in the field: **/sitemap\*.xml**
 * Do I add **/sitemap_index.xml** or will that be a duplicate addition?
 * Thank you.
 * [https://wordpress.org/plugins/zencache/](https://wordpress.org/plugins/zencache/)

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

 *  Plugin Author [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-an-xml-sitemap-rule/#post-6476915)
 * [@craigrkirkby](https://wordpress.org/support/users/craigrkirkby/) The default
   value of `/sitemap*.xml` will also cover `/sitemap_index.xml`; the `*` is a wildcard
   that will match anything, so `/sitemap*.xml` will match `/sitemap.xml`, `/sitemap_example.
   xml`, `/sitemap_index.xml`, and any other variations, so long as it starts with`/
   sitemap` and ends with `.xml`.
 *  Thread Starter [Craig](https://wordpress.org/support/users/craigrkirkby/)
 * (@craigrkirkby)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-an-xml-sitemap-rule/#post-6476920)
 * [@raamdev](https://wordpress.org/support/users/raamdev/) Thank you!

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

The topic ‘Adding an XML Sitemap rule?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zencache_3c4c6b.svg)
 * [ZenCache](https://wordpress.org/plugins/zencache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zencache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zencache/)
 * [Active Topics](https://wordpress.org/support/plugin/zencache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zencache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zencache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Craig](https://wordpress.org/support/users/craigrkirkby/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/adding-an-xml-sitemap-rule/#post-6476920)
 * Status: resolved