WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a multi-site installation of wordpress currently running, and I am having some problems with user registration.

Currently, I use an external authentication plugin (similar to LDAP i guess) and I use this to validate usernames/passwords. For this to work, every user is first added to the Wordpress list of users, and the plugin checks against this list.

The problem is that my organization allows periods inside of a persons username (eg, john.smith). Wordpress is not allowing me to enter john.smith as a username into the system (only allows a-z characters).

Is there any type of workaround for this? I would rather not edit the wordpress core as thats a horrible practice

share|improve this question
up vote 6 down vote accepted

There is a plugin for this. It is Network Username Restrictions Override. Please remember to check out the FAQ #2 to know how to allow periods in usernames. Let me quote it here...

You'll have to update the regular expressions in your .htaccess file if you use email addresses or periods in site URLs. The default WordPress .htaccess configuration does not allow them, nor will this plugin edit your .htaccess automatically due to the risk involved.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.