smart User Slug Hider

Description

This Plugin replaces user names with 16 digits coded strings.

Usage

WordPress uses the pattern example.com/author/name 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. example.com/author/john to something like example.com/author/e9e716def73f76ac. 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. There are no settings and no need to change anything. Just install and forget. Deactivating the Plugin restores the default WordPress behavior.

Also works for BuddyPress member pages.

Need more information?

See Plugin Homepage

Shortcodes

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. example.com/author/e9e716def73f76ac
  • [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

Do you like the smart User Slug Hider Plugin?

Thanks, I appreciate that. You don’t need to make a donation. No money, no beer, no coffee. Please, just tell the world that you like what I’m doing! And that`s all.

More plugins from Peter

FAQ

Nothing yet.

Reviews

Works as advertised.

I had bots hitting one of my sites, trying to login as all of the users who had posted articles. After adding this plugin and adjusting the usernames, the bots were left clueless, trying to login with the old usernames. Great job!

Great!

Great lightweight plugin that does exactly what it says on the tin!

A must install on ALL WordPress sites!

Won’t blog without it

This plugin fixes one of the most irritating things about WordPress, which is that it so easily reveals the username of the admin user by simply checking the author page. This lowers the security level of the blog, as hackers only need to guess your password to get in. With this plugin, you will have double security so very easily, when you use a complicated username and select a display name from user settings, so any potential hacker need to guess both your username and your password to log in. Never set up a blog without this plugin.

smart User Slug Hider

Great plugin
Does as it says on the box
Word press why not add this as part of your default plugins, saves a lot
of head scratching and searching on how to plug the security hole.

Thats the hacks having to guess 100% instead of just 50%

Thanks

This is a very important plugin!

I have been looking for something like this for a while. Thanks a lot.
I am not really sure how secure it is to have the username right in the slug for anyone to see!
Here’s a suggestion:
Username is not allowed to be the same as display name. then Slug = Display name.

OR
Username is email only…

Read all 12 reviews

Contributors & Developers

“smart User Slug Hider” is open source software. The following people have contributed to this plugin.

Contributors

“smart User Slug Hider” has been translated into German. Thank you to the translators for their contributions.

Translate “smart User Slug Hider” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

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: [smart_user_slug], [smart_user_url], [smart_user_link]
  • Theme Functions added: get_smart_user_slug(), the_smart_user_slug()

1.1 (2016-06-30)

  • Code optimization
  • Plugin info page added

1.0 (2014-10-02)

  • Initial Release (tanks to joeymalek for drawing my attention to this problem)