> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Change Your WordPress Admin Username

If you have an existing WordPress site and you want to change your username (for example to something different than "admin" for security reasons), you can do this quite easily.


1. Login to your cPanel and click on the **phpMyAdmin** icon in the **Databases** section.

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/57350e4a-d5e7-4984-b600-f81bc730fcf8.png)


2. Next, locate your WordPress database from the list on the left.
![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/3088540d-e125-4cfb-90b8-2cb428604581.png)


3. If you're not sure which one it is, you can check the _wp-config.php_ file in the root folder of your WordPress installation for the line below:

define('DB_NAME', 'joshipro_wp87');

Once you select your WordPress database, you will see a lit of its tables. Choose the _users table from the left menu.

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/5ab11ca4-24c8-48aa-a4d3-1e5bb221061f.png)


4. You will see a list of all the registered users in your site. Locate the admin username and click on the **Edit** button on that line.

![](https://storage.crisp.chat/users/helpdesk/website/0e35a1b5-ce97-4d12-a27e-1bbafd0ae641/1aad6045-d184-448f-b833-40362188b435.png)

Now, you will see all the fields for this username. Locate the " **user_login** "  field and replace its value from admin to your new preferred WordPress login name and press the **Go** button at the bottom of the page.

