My Wordpress has been hacked, how do I reset my admin password?

If your Wordpress password has been changed to an unknown value, you can always change it by editing the database directly. For this you can use the phpMyAdmin tool in the Control Panel.
Open your WordPress database, go to the SQL tab (located on the top navigation menu).
In the text box write the SQL query: UPDATE `wp_users` SET` user_pass` = MD5 ('new_password_here') WHERE `wp_users`.`user_login` =" admin_username "; 'new_password_here' - enter your new password that you want to use. "admin_username" - specify the username for which the password should be changed.
When you're done editing, click on the GO button to execute the request. If a green message is displayed (that the request was successfully completed), then you will be able to log into WordPress with a new password.

  • 92 Users Found This Useful
Was this answer helpful?

Related Articles

I am getting Internal Server Error (500)

This error is generalized when there is a problem the server cannot process a request to the site...

I can’t enter the site, it doesn’t work. What to do?

Sometimes your site may become unavailable and it may not be displayed for you. Here are the...

Error 502 Bad Gateway nginx and why does it occur?

If this error occurs, then HTTP requests from clients to your site are going through some kind of...

I am getting access error when importing database via phpMyAdmin

If an access error is displayed when you try to import a MySQL database backup via phpMyAdmin, it...

How do I disable magic quotes? (Using .htaccess)

You need to add this line to your htaccess file in the directory where you want to disable magic...