3 ways to Change WordPress Default Username

Guest Post by Pradeep Kumar S.

Changing the default username of WordPress blog is one of the most elementary security measures for preventing it from being hacked.

By default, the WordPress user name is admin. Normally, people don’t care to change it. By this, you are indirectly helping the hackers.

Changing the default username of your WordPress blog will make the hacker to go wild and make it hard for him to figure out. Twice as much work to do. Here are three easy methods for changing the username.

Note: Before you begin make a backup of your files and your databases.

Three Easy ways to get rid of ‘Admin’

1. Create a new user with administration rights and delete Admin

  • WordPress Security TipsCreate a new user with all the administration rights and give the user a nickname.
  • Now log out and log back in with the new username and delete the original admin user.

Note: The Nickname should not be the same as the username. It is for Public Display, like in comments. (for e.g, If you are Dean Martin, your username can be john-1012 and nickname as Dean Martin)

2. Use a WordPress Plugin

I recommend these two plugins, myself and my friends tried our hands on it. These plugins lets you change user’s login username. Here your author link will correspond to your new username.

Follow the instructions included with the respective plugin.

3. Making changes in the phpMyAdmin

If you use phpMyAdmin to access your database, you can follow these methods as per the instructions. If you are using another program you’ll have slight variations. Beware of that, before doing.

  • Back up your database first.
  • Use phpMyAdmin to access your database.
  • Locate the table labeled WP-User and click browse. This lists all the records in that table.
  • Select the record labeled Admin and edit. The edit button looks like a small pencil.
  • Then to the field labeled user-login and change that name (admin) to your desired username and save.
  • Go to your login page and verify.

Take the first step on securing your WordPress blog – Good luck!

This was a Guest Post by Pradeep Kumar from HellBound Bloggers. Pradeep is an active member of the community and has already written another post on Free WordPress hosts. On his blog, he shares Tech News, Reviews and Tutorials. If you wish to write a Guest Post, you can find the details here.

This entry was posted in Guest Posts, WordPress and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

For More Like, "3 ways to Change WordPress Default Username"
Grab the Feed or,

31 Comments

  1. Posted May 27, 2009 at 05:36 | Permalink

    Nice and useful post.Thanks.

  2. Posted May 27, 2009 at 21:56 | Permalink

    Hi Arun,

    Have you seen WP-Optimize .. it does this job along with other optimization options. Actually you can rename any username to other username too.

    http://bit.ly/ABcKN take a look :)

    BTW great tips :)

    • Posted May 27, 2009 at 23:04 | Permalink

      Thanks for the heads up, I just saw the plugin, sounds cool. The ability to apply MySQL commands without PHP, that should help a lot of people without the cPanel. ( I know someone who needs this plugin a lot )

      Good job there, keep developing :)

  3. d3monoid
    Posted May 28, 2009 at 11:38 | Permalink

    nice info man!!!
    really easy way to change !! I was looking for this from some times :)
    cheers!!

    • Posted May 28, 2009 at 22:20 | Permalink

      So you have it! Glad that I could be of help to you…
      Thanks for the first comment here :)

  4. Posted May 28, 2009 at 23:21 | Permalink

    I think third method is more trustful and secure then above two methods.
    what you think Arun?

    • Posted May 28, 2009 at 23:52 | Permalink

      The third method would be better, if you don’t end up in any errors. Using plugins is not my style, and the first method is a work around. :)

  5. Posted May 30, 2009 at 10:36 | Permalink

    Million thanks to Pradeep and Arun :)

  6. Posted June 2, 2009 at 20:17 | Permalink

    Pradeep,

    Nice post and extremely helpful for wordpress starters…

    I liked the key image :)

  7. Jagan
    Posted September 19, 2009 at 11:40 | Permalink

    Thanks Arun you let me know the importance of changing ‘admin’ username …a great security measure indeed

  8. Posted January 5, 2010 at 07:44 | Permalink

    Changing usernames also help to keep you blog away from hackers.

    • Posted January 12, 2010 at 15:13 | Permalink

      usernames is a start, but its not very difficult to find out your current username, so its only a start, but a good one. I think allowing only selective IP’s to login (using .htaccess) is one of the most secure ways, try that too.

  9. videotvblogteam
    Posted January 12, 2010 at 12:14 | Permalink

    Yes! It’s working! I use method 3..

  10. Posted March 9, 2010 at 02:34 | Permalink

    Really excellent advice. I always choose the user name and it does seem to be a basic glitch in wp that this silliness persists.

    Thanks a lot for these tricks!

    • Posted March 9, 2010 at 22:39 | Permalink

      If you install WP via Fantastico installer, they ask for a username, WP should adopt their model. Thanks for your feedback :)

  11. Posted March 11, 2010 at 08:06 | Permalink

    Thanks man! :)

    I’ve tried way number 3 and now my blog is more securer than before.

    • Posted March 11, 2010 at 23:05 | Permalink

      Way to go :)

    • Okoth
      Posted April 23, 2011 at 17:04 | Permalink

      Not really securer, MohammadFarzanHussain. Maybe Arun forgot to tell you not to use your own name as well…

      • Posted April 23, 2011 at 19:51 | Permalink

        Thanks for heads-up Okoth but its hard to guess the changed username as compared to the default username (i.e. admin) :D

  12. Posted January 21, 2011 at 14:14 | Permalink

    that’sa great post. Deleting default user is best for newbies and doing it by using PHPMyAdmin is for advanced users.

  13. Snix
    Posted January 13, 2012 at 02:13 | Permalink

    Really nice article and I’ve employed several of the suggestions mentioned here on my website, which has only been going for about 4 months.
    Thanks for the tips and advice and this can only make other wordpress bloggers blogs a lot more secure, user friendly and I hope others find your guide useful. Thanks, Snix!

7 Trackbacks

  1. [...] Well, hackers are smart people, removing this tag wont make your site super secure, but it would be a little step. Another step would be renaming the default user-name admin to something else, here are three ways to do it. [...]

  2. [...] I started with a bummer. I was showing how to change the default username admin. The idea was to create a new user, and delete the old user and move all the posts to the new user. After creating a new administrator, I forgot to sign out and sign-in from the new user, so I couldn’t delete the admin user. That was embarrassing. But the crowd was supportive. (Here is it if you need details: 3 ways to change default admin username) [...]

  3. By iWeb Blog » Securing Wordpress against hackers on February 21, 2011 at 20:39

    [...] of all make sure to change the default admin usersername to something other than ‘admin’. The linked article gives you 3 ways to do it [...]

  4. [...] d’abord assurez-vous de modifier le nom d’usager par défaut pour autre chose que ‘admin’. L’article lié vous suggère 3 façons de le faire [...]

  5. [...] comenzar, asegúrese de que ha reemplazado el nombre de usuario por defecto por otra cosa que ‘admin’. El artículo al respecto le sugiere 3 maneras de hacerlo [...]

  6. [...] d’abord assurez-vous de modifier le nom d’usager par défaut pour autre chose que ‘admin’. L’article lié vous suggère 3 façons de le faire [...]

  7. [...] primeiro lugar certifique-se de mudar o usersername administrador padrão para algo diferente de ‘admin’. O artigo ligado dá-lhe 3 maneiras de fazer isso [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Warning: Illegal string offset 'solo_subscribe' in /home/mvault47/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 304

Subscribe without commenting

  • Get Free Updates