20131210 renaming your wordpress admin - plembo/onemoretech GitHub Wiki

title: Renaming your wordpress admin link: https://onemoretech.wordpress.com/2013/12/10/renaming-your-wordpress-admin/ author: phil2nc description: post_id: 6761 created: 2013/12/10 12:52:57 created_gmt: 2013/12/10 17:52:57 comment_status: closed post_name: renaming-your-wordpress-admin status: publish post_type: post

Renaming your wordpress admin

Among other things, the latest advice on hardening WordPress recommends renaming the default admin account to something -- anything -- other than "admin". Simple instructions below. To change the admin's login name:

update wp_users SET user_login = 'webmgr' WHERE user_login = 'admin';

While you're at it, be sure to change user_nicename as well, since that also would contain the 'admin' value by default:

update wp_users SET user_nicename = 'webmgr' WHERE user_login = 'webmgr';

Finally, you'll also want to change the display_name (published as "Nick Name") to something other than "Administrator". Like this:

update wp_users SET display_name = 'Web Manager' WHERE user_login = 'webmgr';

So there, you've done it. Renamed your application super administrator so that it appears to be a mere manager.

Copyright 2004-2019 Phil Lembo