This plugin allows full control of your user permalinks, allowing you to change both the author base (the ‘/author/’ portion of the author URLs), and the author slug (defaults to the username of the author). You can set the author base globally, or you can set it to be user-specific based on a user’s role. You now have the power to craft the perfect URL structure for you Author pages.
WordPress default structure http://example.com/author/username/.
Edit Author Slug allows for http://example.com/ninja/master-ninja/.
Using a role-based author base would allow for http://example.com/ida/master-splinter/ (for an Administrator Role), or http://example.com/koga/leonardo/ (for a Subscriber Role).
Development of this plugin takes place on GitHub. Pull requests are always welcome!
Translations should be submitted to Translate WordPress.
- Why can’t I edit my Author Slug?
Make sure you are an admin, or have been assigned the
- Why isn’t my new Author Slug working?
While I’ve made every attempt to prevent this, I may have missed a spot or two. First things first, go to Settings > Permalinks and click “Save Changes.” You don’t need to actually need to make any changes for this to work. Hopefully, this should kick your new Author Slug into gear.
If this doesn’t work, make sure you don’t have any slug conflicts from other posts/pages/plugins/permalink setting/etc. If you’re still experiencing the issue, feel free to post a support request in the forums.
Been using this plugin for some time now, on 30+ sites, and it never failed me. Setup is very quick and easy. A useful tool if you want your author / author base to be more comprehensible, but especially great as an extra security tool to cloak all WP usernames. Highly recommended.
Works great! Just what I needed to get rid of a user's username in the buddypress profile url and show the first and last name instead. I haven't tested to see what happens with duplicate names though.
- Fix a potential bug where a sanitized author base could end up with double forward slashes.
- Introduce the
%ba_eas_author_role%permalink structure tag. This can be used to customize role-based author bases.
- Bonus: All alternative facts are now free!
- Fixed stupid error where the default user nicename wasn’t being properly retrieved from the database. Sorry about that 🙁
- Unfortunately, some unicorns were lost during the development of this release, but they are a resilient creature.
- Added the ability to use forward slashes in the author base.
- Improved display on the settings page, and storing, of role slugs.
- Packaged translations are now removed. Anyone interested in translating the plugin should do so at Translate WordPress.
- EXPERIMENTAL: Added the ability to set the author slug to a user’s numeric user id. While I have tested this, I can’t be sure that no one’s site will implode. If all goes well, the experimental tag will be removed in the next major release (or two).
- Added ability to remove the front portion of author links.
- Accessibility improvements to the settings page.
- Fix loading of minified JS in the admin. Props nuyensgert.
- Fix a few minor output escaping issues missed in the 1.1.0 release.
- Added the ability to update all author slugs at once with the “Bulk Update” tool.
- Greatly improved the checks and error messages when manually updating an author slug for a user.
- Further accessibility improvements to match WP 4.3.
- Improved validation of author slugs to better match that of WP.
- Fix potential, although unlikely, persistent XSS vulnerability.
- Prevent debug notice in admin. Props chesio.
- Update heading tags to h1 to match WP 4.3.
- Identical to 1.0.5, which failed to commit properly.
- Add WP_User object as a parameter passed to the
- Add Japanese translation files. Props SmokyJp.
- Fixed possible (although unlikely) cache invalidation issue
- Minor code improvements and optimizations.
- Improve upgrade routine for older installs
- Improve output escaping
- Various minor fixes and improvements
I swear I tested this! 🙁
- Fix custom roles slugs not saving
- A number of localization fixes and improvements
- Role slug improvements
- Temporary, semi work-around for Co-Authors Plus [https://github.com/Automattic/Co-Authors-Plus/pull/204]
- Fix possible syntax error when updating a profile (props Christine https://wordpress.org/support/topic/undefined-property-error-1)
- Added ability to do role-based author bases
- Added ability to use role-based author templates
- Moderate code refactoring
- Various code fixes and improvements
- Add “nickname” as option for auto-update
- First pass at unit test (only checks if the plugin is installed, for now)
- Fixed loading of translation files. Looks in wp-content/plugins/edit-author-slug/languages. If you’re running 3.7+ (and you are… aren’t you?), it will fall back to wp-content/languages/plugins if a proper localization can’t be found in the edit-author-slug folder.
- Fixed instances where the Author Base wouldn’t change, or would result in a 404
- Update readme references to plugin settings
- Fix some copy pasta in settings
- Update screenshots
- Quickly caught a few things I missed, so this release was skipped. See 0.9.4 for changes
- Fix issue where any profile information other than the Author Slug could not be updated
- Minor code improvement
- Add ‘Settings’ link to plugins list table
- Allow Author Slug to be automatically created/updated based on a defined structure
- Switched to using the Settings API, which also means that all options moved to the Settings > Edit Author Slug page
- Various code improvements/optimizations
- Fix a bug that prevented non-admin users from updating their profile
- Drastically improved error handling and feedback for author slug editing.
- Restore duplicate author slug check as old method could alter the slug without any sort of warning.
- Further improve the logic for flushing rewrite rules.
- Introduce ba_eas_can_edit_author_slug() and matching filter to make it even easier to give users the ability to update their own author slug.
- Add message in plugins list warning users of WP less than 3.2 that 0.8 is the last update they’ll receive.
- Remove overzealous cap check.
- Fix some unfortunate errors I missed before tagging 0.7.
- Significant code refactoring.
- Added custom capability to give site admins the ability to add author slug access to other roles.
- Improvements/optimizations to code logic.
- Fixed an incorrect textdomain string.
- Removed filter added in 0.6 as it was messy. It’s much easier to achieve the same result without the plugin.
- Got rid of wp_die() statement on duplicate author slugs in favor of WP’s built-in duplicate author slug method.
- Added Dutch translation – props Juliette Reinders Folmer.
- Don’t hard code the languages folder path.
- Improve class check/initialization.
- Some code cleanup.
- More security hardening.
- Added filter to allow for the complete removal of the Author Base (http://brandonallen.org/2010/11/03/how-to-remove-the-author-base-with-edit-author-slug/).
- Flush rewrite rules only when necessary instead of every page load.
- Added ‘Author Slug’ column to Users > Authors & Users (Users > Users in 3.0) page (props Yonat Sharon for the jumpstart).
- Ended support for the WP 2.8 branch. Most likely still works, but I will not support it.
- Various bug fixes.
- Added ability to change the Author Base.
- Updated documentation.
- Added some extra security via WP esc_* functions.
- Added Belorussian translation, props Marcis G.
- Added Hebrew Translation, props Yonat Sharon.
- Now localization friendly.
- Fixed a bug that prevented updating a user if the author slug did not change.
- Added a check to avoid duplicate slugs.
- Properly sanitize slug before comparison and database insertion.
- Updated plugin URI.
- Update tags to reflect WordPress 2.9.1 compatability.
- Update link to plugin homepage.
- Update tags to reflect WordPress 2.9 compatability.
- Fix version number issues.
- Remove extra debug functions left behind.
- Add screenshot.
- Initial release.