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 Пользователей нашли это полезным
Помог ли вам данный ответ?

Статьи по Теме

Ошибка 502 Bad Gateway nginx и почему она возникает?

Если эта ошибка возникает, значит HTTP-запросы от клиентов до Вашего сайта идут через какой-то...

Я получаю ошибку доступа при импортировании базы данных через phpMyAdmin

Если ошибка доступа отображается, когда Вы пытаетесь импортировать бэкап базы данных MySQL через...

Я вижу пустую / белую страницу (если сайт создан на PHP)

Если Ваш сайт основан на PHP, наиболее вероятная причина проблемы, что Вы где-то пропустили...

#1064 - You have an error in your SQL syntax

Ошибка 1064 возникает при несоответствии версии MySQL. Самым простым решением является включение...

Firefox ошибка: The page is not redirecting properly (бесконечная переадресация)

Когда страница перенаправляет Вас на бесконечную переадресацию, Firefox будет отображать ошибку:...