Email Address as Username: Changing an Email Address

I've looked into some plugins that will allow me to force users to use their email addresses as usernames and I've been happy with the integration so far. But, I've run into an issue that I can't quite figure out and that I want to figure out before our new site goes live.

As far as I understand it, WP usernames, once they're set, cannot be changed easily. So, what happens to a user whose email address changes? If their username is set as their email address this poses a problem.

Are there other ways around this? I could change someone's user name through PHPMyAdmin without causing too much harm but I don't, of course, want to do that every time someone changes an email address. There's also the "Username Changer" plugin but that again seems to be controlled by me. I want it to happen automatically whenever someone wants to change their email address.

  • Nastia
    • Support Rock Star

    Hello @Cameron, I hope you are doing well today!

    This is very interesting question, At the current time WordPress doesn't allow from users to change their username, since a change of user name will change the /author/username URLs of pages in the site something that only an admin should be able to do.

    You can write your own plugin that will allow users to do this. If you not comfortable with PHP, please feel free to post a new job in our Jobs & Pros forum to hire a developer.

    I have found an article that may solve the issue you having:
    http://www.sourcexpress.com/allow-wordpress-users-to-change-username/

    I hope this helps!

    Cheers,
    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.