How to Restrict Usernames and User Emails in WordPress?

0
210
Restrict Usernames and user Emails in WordPress.
Restrict Usernames and user Emails in WordPress.

Do you want to learn the way to restrict usernames and user Emails in WordPress?”

Different people use different names for their identity. Some use the genuine name for their identification whereas some use foul language. Most of the websites allow people to register on their website, but sometimes people come with unusual names, trademark words, or have other issues as well. 

To get rid of any type of issue, you need to prohibit the users who have names with foul language. In this article, we will talk about the easy way to restrict usernames and user emails in WordPress.

Reason to Restrict Username in WordPress

Generally, a WordPress membership website or community website needs user registration. Therefore, users need to pick any username and email when they sign up on the website. In this process, they can set any username for their registration. 

Eventually, they can also match the name with the admins, moderators, or supportive staff as well as behave like a member of the site causing WordPress security risks. In addition to this, some can include offensive words or trademark words while signing in. 

An effective way to tackle this problem is to restrict the subscriber to include certain words in usernames and email addresses. This will ensure the standard of your forums and communities by excluding foul language.

Restricting Usernames in WordPress

The best way to restrict the user’s username is by using the plugin. It is also one of the easiest ways to tackle problems. Here we are using Restrict Usernames Emails Characters plugin.

It is a free plugin that allows users to use using certain languages like Latin, Arabic, Cyrillic, or any language. However, forbade the use of certain usernames, email addresses, symbols, domain names, and many more that are permitted by WordPress.

Steps to Restrict Usernames in WordPress

Here are the steps you need to follow:

  • After activation, navigate to Settings >> Restrict Usernames Emails Characters.
  • Scroll down until you reach the “Not allow these names” section. Here you need to enter the words or phrases you want your user to exclude in their usernames.
  • Nevertheless, there is a “Make lowercase equal uppercase” option you can enable or disable using the drag and drop-down menu. But, it is enabled by default.
  • You will find a “Not allow these mails” section on the screen. Here you can list the email addresses users can’t use while registering. 
  • Apart from this, the plugin lets you control the use of spaces or numbers in the username. Plus, stops uppercase in username and many more. With this plugin, you can make your user create a username in the way you want. 
  • Make sure you click on the “Save Changes” button. 
  • Again, you can go to the “Error Message” tab of the plugin where you will find the pre-written error message by default. However, if you want to make some changes to the message you are free to do in this section. 
  • Now, whenever, someone with a restricted name and email address will try to register on your website, an error message will be displayed. 

Hence, in this way you have successfully restricted username and user email using this plugin without any problem.

Wrapping Up

Lastly, we hope this article was good enough to help you find the solution. Username and email address are very important for the website. And plays an equal role in protecting the privacy of the site. Also, your user should be aware of the rules to follow when choosing the user name while registering on your website.

If you are interested in learning more about WordPress go through our other article “How to Properly Change Your WordPress Username?” for more detailed information. 

LEAVE A REPLY

Please enter your comment!
Please enter your name here