Title: Prohibited usernames case sensitive
Last modified: July 30, 2020

---

# Prohibited usernames case sensitive

 *  Resolved [Johan WALTER](https://wordpress.org/support/users/johan_walter/)
 * (@johan_walter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/)
 * Hi
 * I have created a list of prohitbited usernames
    Screenshot [https://prnt.sc/tr93qs](https://prnt.sc/tr93qs)
 * One IP has been blocked using one of this username
    An other IP used the same
   username in uppercase letter , it has not been blocked as use of prohibited usernames
   but considered as attempt with non existing login Screenshot [https://prnt.sc/tr9340](https://prnt.sc/tr9340)
 * I have tried to add the username in uppercase letter in prihibited usernames,
   it does not work, the username is not saved probably because same username in
   lower case is already in the list
 * Is there any chance you can solve it ?
 * Either by making prohibited username list case sentive or blocking IP trying 
   to login with a username whatever is used lowercase or uppercase
    I prefer second
   option
 * Thanks
 * Regards
 * Johna

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

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13216483)
 * Hi!
 * 1. All usernames specified without using REGEX are case-sensitive.
    2. For consistency
   reasons, all entries in the list must be lowercase. 3. To specify prohibited 
   usernames in a case-insensitive manner, you need to use REGEX. For instance for
   the **admin** username specify **/admin/**. It will work for any case used by
   an offender.
 *  Thread Starter [Johan WALTER](https://wordpress.org/support/users/johan_walter/)
 * (@johan_walter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13216507)
 * Hi
 * Thanks
    I will update my list with Regex
 * Regards
 * Johan
 *  Thread Starter [Johan WALTER](https://wordpress.org/support/users/johan_walter/)
 * (@johan_walter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13216577)
 * Hi Gioni [@gioni](https://wordpress.org/support/users/gioni/)
 * I followed your instructions and used Regex
    Screenshot [https://prnt.sc/tuyz4d](https://prnt.sc/tuyz4d)
 * It showed the login attemp with prohibited username but it didn’t block the IP
   
   Screenshot [https://prnt.sc/tuyxq1](https://prnt.sc/tuyxq1) Previous attemps,
   without Regex, blocked the IP
 * I have tried it on 2 websites
    I changed back to username without Regex and IP
   is blocked again Screenshot [https://prnt.sc/tuz2cl](https://prnt.sc/tuz2cl)
 * Is it because the username is in between [ ] ?
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13216593)
 * Do not use square brackets.
 *  Thread Starter [Johan WALTER](https://wordpress.org/support/users/johan_walter/)
 * (@johan_walter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13216654)
 * It does not work !
    The username used by bots to attempt login as square brackets
 * I have just tried to use /login/
    Screenshot [https://prnt.sc/tuzfef](https://prnt.sc/tuzfef)
 * Username is not prohibited any more, it does not exist and IP is not blocked
   
   Screenshot [https://prnt.sc/tuzf3c](https://prnt.sc/tuzf3c)
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13243690)
 * It’s because your REGEX is wrong. For the username **[login]** it must be **/\[
   login\]/** since the login in your example contains square brackets. Anyway, 
   in the upcoming version non-REGEX entries will be processed in a case-insensitive
   manner.
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13243699)
 * You can play with REGEX online, e.g. here: [https://regex101.com/](https://regex101.com/)
 *  Thread Starter [Johan WALTER](https://wordpress.org/support/users/johan_walter/)
 * (@johan_walter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13243704)
 * Hi Gioni
 * Thanks for your answer !
    I will wait next version then
 *  Thread Starter [Johan WALTER](https://wordpress.org/support/users/johan_walter/)
 * (@johan_walter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13268200)
 * Hi Gioni
 * I have updated to latest version
    It works fine and it is way more practical 
   and efficient than using Regex on username list
 * That also makes Cerber fully compatible with username availabilty checker from
   Buddydev [https://buddydev.com/plugins/bpdev-username-availability-checker/](https://buddydev.com/plugins/bpdev-username-availability-checker/)
 * Thanks for your support
 * Regards
 * Johan
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13393586)
 * You’re welcome!
 *  [vorticy](https://wordpress.org/support/users/vorticy/)
 * (@vorticy)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13854934)
 * I still don’t see where to enter these usernames.

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

The topic ‘Prohibited usernames case sensitive’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [vorticy](https://wordpress.org/support/users/vorticy/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/prohibited-usernames-case-sensitive/#post-13854934)
 * Status: resolved