Occasionally I come across plugins that are just awesome. While working on a client project that had a membership directory, I needed the ability to view profile details for each individual user in the directory. By default, WordPress uses the “/author/username” slug when viewing a user. Well for a directory of members (not authors), this did not make much sense, and would not have pleased the client very much. This is where the Edit Author Slug plugin comes into play.
The plugin allows you to change the “/author/” part of user URLS to anything you want. This is called the “Author Base”, much like the category and tag bases that ca be defined in the Permalink settings. Once the plugin is active, a new option called “Author Base” is added to the Permalink settings, as shown in the screenshot below:
You could, for example, enter “members” in the Author Base settings. Doing this will result in author URLs being changed from:
By default, “username” is replaced with the user’s login name, but you can change this as well. By editing the profile of the user you wish to change, you can alter the user’s slug by filling out the “Author Slug” option that has been added by the plugin, as shown in the screenshot below:
If you enter “my-awesome-user”, then that user’s final slug will be:
Pretty cool. One of the things that is really great about this plugin is that it does one (actually two) thing, and one thing very, very well, while maintaining a very minimal foot print. It’s great because the settings for the plugin are not added to their own settings page, they’re added to the existing settings in exactly the way you would expect them to be if they were part of WordPress core.
While I was at WordCamp Miami, Jake Goldman gave a great talk titled What Would Core Do?. One of the points he covered was how plugin developers should always strive to make their plugins seem as though they are part of core. I couldn’t agree more, and Edit Author Slug does this very, very well.