[Resolved] replace %20% usernames with a dash (-) in URL?
I converted to BuddyPress/bbPress from Invision. And usernames that were with spaces (eg Bob Smith). gave 404s when they clicked on their profiles.
Then someone suggested to do this
define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );
And it worked. However is there a way to nicely display a username? /bob%20%smith/ looks so ugly. /bob-smith/ looks much better.
I have a fairly small user base, only about 10 maybe have spaces in their names. I wouldn’t mind doing some manual editing in phpMyAdmin if I can find what to edit.
Then does future accounts fix themselves if a user choose a space in their name? Or is that not allowed in the default BuddyPress registration?
- The topic ‘[Resolved] replace %20% usernames with a dash (-) in URL?’ is closed to new replies.