Change the user slug

4.08K viewsGeneral
0

Hi,

I’m having an issue with the user slug, this is currently using the username. However, when using a plugin like the Social Logins plugin, this username is sometimes nonsensical or contains semi-private information such as the users real name.

As a quick fix, I’d really like to be able to switch from using the username to the user ID… e.g.
FROM: http://www.csgohub.gg/BASE_PAGE/user/USER_NAME
TO: http://www.csgohub.gg/BASE_PAGE/user/USER_ID

Is this possible via any hooks or filters? Or can this be added as an option?

In a perfect world we’d be able to allow the users to set their own slug, however I realise this hits a ton of extra work with regards to ensuring it’s unique and the knock on effects of permalinks etc.

Alex

0

I just reopened the search for the answer to this and stumbled across this question again. I’d still really like an answer to this.

Essentially users don’t want persistant profile url’s. They want to change them over time.

As I mentioned above, they definitely want to change them if their username has been set for them and isn’t something they want to use.