Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to allow usernames with ‘-’ (hyphen) symbol. But now i face some errors with buddypress.

I am using Buddypress + Facebook login. So when user try to login using facebook then it will get facebook username and adds hypens automatically (if there have any spaces).

But when try to see their user profile i my site, like:

1. "[DOMAIN]/members/Umar-Faruk" – Getting 404 Error

but instead the profile works in

2. "[DOMAIN]/members/Umar" – It works good.

How to do the same for the username with ‘hyphen’?

Buddypress: Version 1.8.1 + WordPress: 3.6

share|improve this question
add comment

Your Answer


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

Browse other questions tagged or ask your own question.