WordPress mu-plugin that generates user_nicename, which is used as slug for author archives, from user's display name instead of their login name.
The user_nicename is used as a slug for author pages. Wordpress generates it automatically from the user_login. Since people can have the most bizarre login names, this results at best in just inconsistent URL structure for the author pages and in the worst case embarrassing URLs. This "must use" plugin takes care of this by using the display name to ceate user_nicename.
- In your
wp-content
directory, create amu-plugin
directory if it not already exists. - Copy
kntnt-user_nicename-from-display_name.php
intomu-plugin
. Only the file. Not this directory or the other files within it. - Visit each user's profile and save it again to update the user_nicename. Don't forget your own profile. :-)
Initial release.