Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
=== WP Author Slug ===
Contributors: obenland
Tags: security, slug, author, author archive, url, permalink
Donate link:
Requires at least: 3.0
Tested up to: 6.1
Stable tag: 4

Add a layer of security and prevent your login name from being shown in the author archive's URL.

== Description ==

This plugin replaces the author slug with a sanitized version of the user's display name.

This plugin will not prevent hackers from finding out your login name but the login name won't be visible
in the author archive's URL, which works towards your friendly URLs with using your display name.

DO NOT use this on a site with more than 1000 registered users, as updating all of their nicenames at once might break your site.

== Installation ==

1. Download WP Author Slug.
2. Unzip the folder into the `/wp-content/plugins/` directory.
3. Activate the plugin through the 'Plugins' menu in WordPress.

== Changelog ==

= 4 =
* Moved clean up to plugin deactivation. This makes sure author slugs are only modified with the plugin active.
* Updated utility class.
* Tested with WordPress 6.1.

= 3 =
* Maintenance release.
* Checks if keys and properties exist before using them.
* Tested with WordPress 5.6.

= 2 =
* Maintenance release.
* Updated code to adhere to WordPress Coding Standards.
* Tested with WordPress 5.0.

= 1.3.0 =
* Maintenance release.
* Tested with WordPress 4.0.

= 1.2.2 =
* Updated utility class.
* Tested with WordPress 3.4.1.

= 1.2.1 =
* Updated uninstall.php and activation hook to use WordPress User API instead of custom queries.
* Updated utility class.

= 1.2 =
* Tested for WordPress 3.3.1.

= 1.1 =
* Tested for WordPress 3.1.1.
* Added complete uninstall routine.
* Added compatibility for pre-3.1 multisite installs.

= 1.0 =
* Initial Release.

== Upgrade Notice ==
Maintenance update.