Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow hyphen in username

  • Avatar of Umarfaruk Mhd
    Umarfaruk Mhd
    Participant

    @umarfarukm

    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, 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

You must be logged in to reply to this topic.