Title: Cannot hide backoffice access
Last modified: October 16, 2023

---

# Cannot hide backoffice access

 *  Resolved [ali2xja](https://wordpress.org/support/users/ali2xja/)
 * (@ali2xja)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-hide-backoffice-access/)
 * I am having problem when trying to hide the backoffice acces using this plugin.
   When I write the login slug it shows an error which says ‘.theme_compat_slug 
   should match pattern “^[\w\-?&=#%]+$”‘. I have tried using random words but with
   no success. How can this problem be solved?
    -  This topic was modified 2 years, 6 months ago by [ali2xja](https://wordpress.org/support/users/ali2xja/).

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

 *  [nlpro](https://wordpress.org/support/users/nlpro/)
 * (@nlpro)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-hide-backoffice-access/#post-17126323)
 * Hi [@ali2xja](https://wordpress.org/support/users/ali2xja/),
 * The settings name **theme_compat_slug** refers to the setting named REDIRECTION
   SLUG in the plugin UI. The default value for this setting is **not_found**
 * So instead of changing the (URLs section) LOGIN SLUG try and change the (Redirection
   section) REDIRECTION SLUG.
 * +++ To prevent any confusion, I’m not iThemes +++
 *  Thread Starter [ali2xja](https://wordpress.org/support/users/ali2xja/)
 * (@ali2xja)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-hide-backoffice-access/#post-17126517)
 * Thank you for your reply,
 * The redirection slug was also changed, but still I could access my backoffice
   from /wp-admin.
 * So, it’s not working still.
 *  [Ben Meredith](https://wordpress.org/support/users/benmeredithgmailcom/)
 * (@benmeredithgmailcom)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-hide-backoffice-access/#post-17131286)
 * Hey [@ali2xja](https://wordpress.org/support/users/ali2xja/)
 * First, go ahead and update to the latest version of the plugin to make sure things
   are still not working.
 * Next, I made a video showing what *should* be happening: [https://www.loom.com/share/a485cdec28ef47009127b96fead20959](https://www.loom.com/share/a485cdec28ef47009127b96fead20959)
   
   If you’re seeing something different, please clarify, and we’re happy to jump
   on it! As soon as I can replicate a problem on a different site, I’m happy to
   work toward resolving it. Have a great day!
 *  Thread Starter [ali2xja](https://wordpress.org/support/users/ali2xja/)
 * (@ali2xja)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-hide-backoffice-access/#post-17133268)
 * [@benmeredithgmailcom](https://wordpress.org/support/users/benmeredithgmailcom/)
   Thank you so much for your explanation. Everything works now

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

The topic ‘Cannot hide backoffice access’ is closed to new replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=2980272)
 * [Solid Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [ali2xja](https://wordpress.org/support/users/ali2xja/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-hide-backoffice-access/#post-17133268)
 * Status: resolved