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

My site is not working on this PHP version

You can change the PHP version yourself in the Control Panel. To do this, go to Control Panel -...

Got an error about an outdated MySQL version?

When connecting the site to the database, an error occurred telling us that the MySQL version is...

How to fix content encoding error?

If your site shows content encoding error it may be due to GZIP compression.Try to enable or...

Help, Adsense is not showing

If your ad is not showing, please make sure you paste the code between the "body" tags. If you...

I can see the old site content after uploading new files

Most likely, your browser keeps old copies in the cache for fast loading of your site. You need...