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