Monday 10 June 2013

How To Restrict Usernames In WordPress

Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.

It's really hard to run a WordPress blog, with BuddyPress and public registration. I'll post several article about managing your WordPress and BuddyPress users on BWidgets. Today, we'll kick off this series with a very basic tutorial.

In this tutorial, we'll learn about how to restrict usernames from your WordPress, so people may not use when registering for your site. By default, WordPress allow users to pick any username they choose as long as it isn't an already existing account and it doesn't include invalid characters.

Scott Reilly created a great plugin to restrict some usernames so they may not pick it. It's very important to restrict several usernames, including contact, admin, feedback, user, moderator, and more.

When attempting to register with a restricted username, vistors will see an error notice that says: ERROR: This username is invalid. Please enter a valid username.

How To Install And Use Restrict Usernames:

  • Click here and download this plugin. Visit your WordPress' plugin page and install this plugin.
  • You can also install this plugin from your WP's plugin directory.
  • After installing, activate the plugin through the 'Plugins' admin menu in WordPress.
  • Go to the Users -> Name Restrictions admin settings page (which you can also get to via the Settings link next to the plugin on the Manage Plugins page) and specify username restrictions.

That's IT! You can put your responses, problems and requests in the comment section below... :)
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.
 
Powered by Blogger.