How To Create New Admin Account In WordPress Via FTP

This tip will be super handy if for whatever reason you only have FTP access to a WordPress site and need to access WordPress from the backend.

No matter what the reason is that you don’t have Admin access, just paste this snippet into their current theme’s functions.php file, or add it to a new file in their ~/wp-content/mu-plugins/ folder, and WordPress will automatically create an admin account for you to use!

Make sure to change the following credentials to your own

$login = ‘myacct1‘;
$passw = ‘mypass1‘;
$email = ‘myacct1@mydomain.com‘;

Make sure you create a brand new account because if there is already an account with the username or email address specified, it will not work.

Watch This Video - Easy To Rank Keyword Database


Easy To Rank Keywords for Niche Sites

DRM robot Learn More >>

Leave a Reply