Title: Exclude path not working
Last modified: October 14, 2020

---

# Exclude path not working

 *  Resolved [gnoparimaj](https://wordpress.org/support/users/gnoparimaj/)
 * (@gnoparimaj)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-path-not-working/)
 * hello, I have only excluded the wp-admin path a few days before setting up a 
   temporary redirect, today I have excluded another path .XML but the XML page 
   is still being redirected to my new site.
 * I tried clearing both my browser and Litespeed cache
    Exclude paths: /wp-admin,/
   sitemap.xml
 * Please, I need your advice. Thank you and Thanks for creating this amazing plugin.
    -  This topic was modified 5 years, 8 months ago by [gnoparimaj](https://wordpress.org/support/users/gnoparimaj/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Micah Wood](https://wordpress.org/support/users/wpscholar/)
 * (@wpscholar)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/exclude-path-not-working/#post-13549448)
 * [@gnoparimaj](https://wordpress.org/support/users/gnoparimaj/) Are you sure that`
   sitemap.xml` is the actual sitemap?
 * Yoast will automatically redirect `sitemap.xml` to `sitemap_index.xml` and WordPress
   will redirect `sitemap.xml` to `wp-sitemap.xml`.
 * Perhaps try adding excludes for `sitemap_index.xml` and `wp-sitemap.xml` and 
   see if that helps?

Viewing 1 replies (of 1 total)

The topic ‘Exclude path not working’ is closed to new replies.

 * ![](https://ps.w.org/simple-website-redirect/assets/icon-256x256.png?rev=3200400)
 * [Simple Website Redirect](https://wordpress.org/plugins/simple-website-redirect/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-website-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-website-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-website-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-website-redirect/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Micah Wood](https://wordpress.org/support/users/wpscholar/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/exclude-path-not-working/#post-13549448)
 * Status: resolved