smart User Slug Hider


The smart User Slug Hider Plugin hides usernames in Author Pages URLs to enhance Security


The plugin automatically replaces user names with 16 digits coded strings. Just install and forget. Deactivating the Plugin restores the default WordPress behavior.

Why use this plugin?

WordPress uses the pattern for author page URLs where name represents the users login name.

This means that the login names from all your users are publicly visible which is a serious security flaw.

The smart User Slug Hider Plugin changes all author page URLs from e.g. to something like

The codes are generated automatically and its impossible to make conclusions about the user names. The WordPress default URLs will cause a 404 (not found) error.

Also works for BuddyPress member pages.

Future Proof Mode

As of PHP version 7.1 the functions so far used by this plugin for encryption are marked as deprecated and your webserver may show a PHP Warning. Future Proof Mode causes the plugin to use other encryption functions that are recommended as substitutes.

Unfortunately it is not possible to get the same result. This means that the coded User Slug changes if Future Proof Mode is activated.

If you have not used this plugin yet, it is highly recommended to activate Future Proof Mode.

If you have already used this plugin in the past please consider that activating Future Proof Mode changes the URLs of all Author Pages!

As of PHP version 7.2 the old functions have been removed from PHP core. The mcrypt extension now is available as an unofficial PECL extension. If this PECL extension is installed on your webserver this old functions are still available, so it is not mandatory to activate Future Proof Mode.

If you update to PHP 7.2 or newer without having the mcrypt extension installed on your webserver, the plugin automatically activates Future Proof Mode and it is not possible to deactivate it – otherwise WordPress would crash.

However, sooner or later you’ll be forced to activate Future Proof Mode.


The plugin adds three shortcodes you can use in your posts:

  • [smart_user_slug] – the user slug of the post author – e.g. e9e716def73f76ac
  • [smart_user_url] – the url of the post author’s profile page – e.g.
  • [smart_user_link] – adds a link to the post author’s profile page

Theme Functions

The plugin adds two functions that can be used in theme files:

  • get_smart_user_slug( $author_id ) to get the user slug for the author – the parameter $author_id is optional, if omitted the author`s ID of the current post is used
  • the_smart_user_slug( $author_id ) to display the user slug for the author – the parameter $author_id is optional, if omitted the author`s ID of the current post is used


Support Forum.


How to easily close a HUGE WordPress Security Gap using the free Plugin smart User Slug Hider

Do you like this plugin?

I spend a lot of my precious spare time to develop and maintain my free WordPress plugins. You don’t need to make a donation. No money, no beer, no coffee. If you like this plugin then please do me a favor and give it a good rating. Thanks.

Plugin Privacy Information

  • This plugin does not set cookies
  • This plugin does not collect or store any data
  • This plugin does not send any data to external servers

Peters’ Plugins Privacy Information Page


This plugin is compatible with ClassicPress.

More plugins from Peter

Stay up to date

Follow me on Facebook
YouTube Channel

Tangkapan Layar

  • Automatically enabled Future Proof Mode when using PHP 7.2 without mcrypt PECL extension


none so far


Januari 29, 2019
I'm about to launch a BuddyPress network and want to comply with GDPR/DSGVO rules and user demands fo privacy as much as possible. This plugin is a must have! 1000 Dank.
Januari 15, 2019
Excellent! I've been wondering for ages about this issue! Now it's fixed!!
Desember 16, 2018
Not much more to say, it does exactly what it needs to do. In conjunction with Limit Login Attempts, keeps the 'bots and other casual pests at bay.
Juli 1, 2018
Thank you for this plugin - it works perfectly for me. I like that the plugin is set and forget. Just install and that's it, everything is automatic; no settings to make. There is an unobtrusive settings page (under the main settings menu) with information about the plugin and a toggle to activate 'future safe mode', which is clearly explained. This is a very lightweight plugin and looking at the code it's nicely written. So all in all, very happy to install this on my sites.
Baca semua 24 tinjauan

Kontributor & Pengembang

“smart User Slug Hider” adalah perangkat lunak sumber terbuka. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Para Kontributor

“smart User Slug Hider” telah diterjemahkan kedalam 2 lokale. Terima kasih kepada para penerjemah untuk kontribusi-nya.

Terjemahkan “smart User Slug Hider” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

3 (2018-12-31)

  • Future Safe Mode renamed to Future Proof Mode
  • automatically activate Future Proof Mode if mcrypt is not availabe
  • code improvement
  • UI improvements
  • changed capability to manage_options to display admin page

2 (2018-03-14)

  • Future Safe Mode

1.5 (2017-11-16)

  • faulty display in WP 4.9 fixed

1.4 (2017-07-15)

  • fix for BuddyExtender plugin

1.3 (2017-07-17)

  • BuddyPress compatibility
  • redesigned admin interface
  • code improvement

1.2 (2016-10-04)

  • Shortcodes added
  • Theme Functions added

1.1 (2016-06-30)

  • Code optimization
  • Plugin info page added

1.0 (2014-10-02)

  • Initial Release