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.

  • 63 Users Found This Useful
Was this answer helpful?

Related Articles

#1064 - You have an error in your SQL syntax

Error 1064 occurs when MySQL version does not match. The simplest solution is to enable...

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...

Images are not showing on my site

Please make sure the images are uploaded to the server. Check that the HTML paths are correct....

Ping command and tracert (traceroute) how to use correctly?

The ping command is used to check the availability of network resources. Most often it is needed...

Where can I see the CPU logs of the processor?

Our hosting does not keep logs of CPU usage of the processor at the moment.When an account starts...