Some of the most simple tactics to assist offer protection to your web page from would-be hackers is to make a choice a customized title in your WordPress admin or tremendous admin account.

Hackers could have a hard time injecting their approach into your account with publish requests for your wp-login.php web page if they are able to’t wager your username. This creates an additional step for them since they gained’t simply have to wager your password.

What in case you didn’t alternate your admin username while you in the beginning created your web page or community? On this instructional I’ll display you how one can alternate your default username for each unmarried and Multisite installs thru creating a small alternate for your database.

The harder you’ll be able to make it for hackers to infiltrate your web page, the more secure your web page might be. Converting your default username is one of the nice tactics to make your web page somewhat more secure.

Proceed studying, or soar forward the use of those hyperlinks:

Gaining access to Your Database

You’ll be able to get entry to your WordPress database in two tactics: thru cPanel, or by the use of The Hub.

The ones acquainted with know that cPanel is internet web hosting keep watch over panel that permits customers to regulate information. Its easy GUI permits management thru a normal internet browser the use of a three-tier construction.

The Hub is WPMU DEV’s snazzy, snappy, sensible UI panel that permits you to simply track, optimize, and replace limitless websites from a unmarried location. Stand up to hurry with fast web page standing overviews, label & arrange your websites, and a lot more with The Hub’s intuitive filtering equipment.


In case your internet host makes use of cPanel, they’re going to supply knowledge on gaining access to it, continuously by the use of a hyperlink despatched thru e-mail. It can also be conceivable to get entry to it thru a browser by means of typing the next:

  • HTTP — kind your site title, with :2082 added to the tip >> Instance:
  • HTTPS — kind your site title, with :2083 added to the tip >> Instance:

Another choice that may paintings (relying to your host) is:

From the cPanel, search for the Databases segment, then click on the phpMyAdmin icon. Then beneath Databases at the homepage, click on at the database you wish to have to get entry to.

The Hub

From the house web page in The Hub, choose the web page you wish to have to get entry to, and click on on its title.

From the Evaluation tab, cross to Database, and click on on Arrange. This will likely open phpMyAdmin, and you’ll be able to continue with any movements right here as you could having long past thru cPanel.

WP DB access via The Hub
Get admission to your WordPress database by the use of WPMU DEV’s The Hub.

Discovering Your Database Title

We want to make slight adjustments for your database, so that you’ll want to know what it’s known as, with a purpose to know which one to edit. For those who’re no longer certain, you’ll be able to to find out by means of checking your wp-config.php report within the root of your WordPress information.

In cPanel, choose the Report Supervisor button beneath the Information segment. If the Report Supervisor Listing Variety pop-up seems, choose the Internet Root possibility or the File Root in your web page within the drop down listing.

Choose the wp-config.php report and click on the Edit button on the most sensible of the web page. Search for the code very similar to the instance underneath:

Your database title might be indexed on line 3 of this situation the place your_db is written. As soon as your database’s title you’ll be able to cross forward and alter its tables.

Unmarried WordPress Installations

From the phpMyAdmin, click on beneath Databases at the homepage. Then find the wp_users desk.

That is the one desk it is important to edit for unmarried installs of WordPress.

Click on on it and to find your admin username at the listing.

If in case you have multiple person to your web page this listing might be longer and can show they all.

Click on the Edit button to insert values into the desk possibility. Kind in a brand new username in every of the fields the place it’s displayed.

The name

On the very least, you want to edit the user_login box to switch your username. If you need to additionally alternate how your title is displayed to your web page’s entrance finish, alternate the display_name box.

The user_nicename box is the slug that can seem within the URL for puts just like the creator archive web page. What you input right here will have to no longer come with areas.

It’s in most cases the similar as your login username, however in instances the place your username doesn’t glance so person pleasant like “HeartPrintedUnderpants23,” you’ll be able to select a distinct title to seem because the slug.

Whilst you’re performed, save the adjustments you’ve made.

The table option drop down lists at the bottom of the page are shown above the
You’ll be able to select a distinct possibility in the second one drop down listing in case you like, however be sure that the primary one is ready to “Save.”

On the backside of the desk choices, you’ll see a suite of drop down packing containers. Set the primary one to Save and the second one to Return to earlier web page, then click on Pass to avoid wasting your adjustments.

If you’ve made those adjustments, you’re performed and you’ll be able to now use your new customized username to log in. For those who’re the use of Multisite, there are a couple of extra steps you want to finish.

Multisite Installations

To modify your tremendous admin username in your community, first entire the stairs above. If you’re performed, return for your database tables listing and to find the wp_sitemeta desk.

For those who modified your desk prefix to one thing extra custom designed than the default, then the “wp” a part of the desk might be other.

Click on on it to expose all its desk choices. Once they load, glance beneath the meta_key column for the site_admins row.

The listing of desk choices is so much longer than this, however the possibility you want is in most cases indexed towards the highest.

Click on the Edit button at the left of that row. Subsequent, alternate the values in your admin username within the meta_value box.

You don’t want to switch every other fields for this desk possibility.

There are two issues you want to switch. The primary is your username. The second one is the price for the nature depend of your username.

Within the above instance, the default username is proven and you would have to alternate admin and the quantity 5 which is displayed prior to the title. For the reason that username has 5 characters, the quantity 5 is indexed prior to it.

This quantity is also other for you in case your username is longer than 5 characters. The meta_value may additionally glance other if in case you have different permissions connected for your admin account. If that is so, simply glance for a similar values a few of the code.

For those who sought after to switch your username to “HeartPrintedUnderpants23,” for instance, you could alternate the values to appear to be this:

Admin has been modified to the brand new username and the quantity “5” has been modified to “24” to mirror the choice of characters within the new username.

If you’re glad together with your new username, click on Pass on the backside to avoid wasting the adjustments you made.


For those who’ve adopted alongside then you’ve effectively modified your default username to a customized one by means of making a couple of small tweaks for your database.

You will have additionally made it a little bit harder for hackers to get into your web page, however this isn’t the one alternate you will have to make to extend the protection of your web page.

If you need extra tactics to make your web page or community more secure, take a look at our posts How To Easily Secure Your WordPress Site for Free, The 16-Step Checklist for Securing Your WordPress Site, or The Ultimate Guide to WordPress Security, to call a couple of.

You’ll be able to to find much more useful posts by means of coming into the time period “safety” within the seek field on our weblog.

If you need another that doesn’t require making adjustments for your database, there’s another choice. You must create a brand new person and choose administrator permissions for it. In the end, you’ll be able to delete the unique admin person.

Simply remember that some plugins require further permissions that can not be decided on while you create a brand new administrator account. That’s why converting your username on your database as we’ve coated on this publish is continuously a greater resolution.

Editor’s Observe: This publish has been up to date for accuracy and relevancy.
[Originally Published: April 2015 / Revised: March 2022]

WordPress Developers

[ continue ]