user_login vs. user_nicename

user_nicename is url sanitized version of user_login. In general, if you don’t use any special characters in your login, then your nicename will always be the same as login. But if you enter email address in the login field during registration, then you will see the difference.

For instance, if your login is [email protected] then you will have userexample-com nicename and it will be used in author’s urls (like author’s archive, post permalink, etc).

Leave a Comment