Are you searching for a method to forestall customers from the usage of particular usernames in WordPress?

Should you permit folks to sign up to your website online, then there’s at all times a possibility that folks may sign up usernames that comprise foul language, trademark phrases, legit sounding names, or produce other problems.

On this article, we can display you the way to prohibit usernames in WordPress.

Restrict usernames in WordPress

Why Limit Usernames in WordPress?

When operating a WordPress membership website or a group website online, you’ll wish to allow user registrations. While you do, new customers can pick out any username and e-mail after they enroll.

That signifies that customers can pick out a username very similar to the admins, moderators, and make stronger team of workers. They might even faux to be a member of your crew, resulting in a WordPress security possibility.

To not point out, customers may just additionally use offensive phrases or trademark phrases when registering an account to your WordPress website.

That’s why it’s very best to limit subscribers from the usage of positive phrases in usernames and e-mail addresses. It prevents using foul language and is helping deal with top requirements to your forums and communities.

Let’s see how you’ll restrict usernames in WordPress.

Limiting Usernames in WordPress

One of the best ways to forestall using positive phrases and words in usernames is by way of the usage of the Restrict Usernames Emails Characters plugin.

It’s a unfastened WordPress plugin that permits you to prohibit positive usernames, e-mail addresses, symbols, domains, and extra. The plugin even gives an method to permit using a undeniable language, like Latin, Arabic, Cyrillic, or any language.

First, you’ll wish to set up and turn on the Limit Usernames Emails Characters plugin. If you want assist, then please see our information on how to install a WordPress plugin.

Upon activation, you’ll head over to Settings » Limit Usernames Emails Characters out of your WordPress dashboard. Underneath the ‘Basic Settings’ tab, make sure that the plugin is enabled.

Make sure the plugin is enabled

After that, you’ll scroll all the way down to the ‘Now not permit those names’ phase within the plugin and input phrases or words to limit their use in usernames.

There’s additionally an method to ‘make lowercase equivalent uppercase’ within the plugin. Through default, it’s going to be enabled, however you’ll disable it from the dropdown menu.

Enter names to restrict username

In a similar fashion, you’ll additionally save you using particular email addresses.

Underneath the ‘Now not permit those emails’ phase, merely input the e-mail addresses that customers can’t use when registering. This may assist filter junk mail emails, and customers must use their precise e-mail addresses.

Not allow certain emails

But even so that, the plugin has extra non-compulsory settings to customise the constraints on usernames and e-mail addresses.

For example, you’ll save you using positive e-mail domain names, prohibit usernames containing positive phrases, steer clear of using characters and emblems that WordPress allows, and make allowance special characters.

There are even choices to restrict using areas in usernames, don’t permit customers most effective to make use of numbers within the username, forestall uppercase usernames, and extra.

Prevent the use of space and numbers in username

Don’t disregard to click on the ‘Save Adjustments’ button while you’re carried out.

Subsequent, you’ll move to the ‘Error Message’ tab within the plugin.

The plugin will have already got pre-written error messages for various scenarios by way of default. On the other hand, you’ll customise any error message underneath this phase.

Edit error messages

Now, if any individual tries to go into a limited username and e-mail cope with when registering to your website online, they’ll see an error message and must pick out any other username and e-mail.

Right here’s what it gave the impression of on our demo website online once we attempted to sign up the usage of a limited username and e-mail cope with.

Error message when restricted username is entered

We are hoping this text helped you learn to prohibit usernames in WordPress. You may additionally need to have a look at our guides on how to start an online store and the best AI chatbots software for your website.

Should you preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You’ll be able to additionally to find us on Twitter and Facebook.

The publish How to Restrict Usernames and User Emails in WordPress first seemed on WPBeginner.

WordPress Maintenance

[ continue ]