For those who are awake!
Discount -15%
We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.13.1.7. Change admin password in WordPress

There are several ways to change your WordPress admin password:
To change your WordPress admin password, do the following:
  1. In the site config file takealook the name of the database to which it is connected.
  2. Openup database in phpMyAdmin.
  3. Execute the next SQL query, instead of new_password New password:
    UPDATE wp_users SET user_pass = MD5('new_password') WHERE id = 1;

    If the names of the tables in the database do not start with the standard wp_, and with a different prefix, make the appropriate change to the SQL query.

  4. Check the entrance to Adminpanel.

To change your WordPress user password, do the following:

  1. Sign in Adminpanel site.
  2. Go to the section "Users → All users»:
  3. Hover the cursor over the desired user and click “Edit»:
  4. At the very bottom of the page in the section "Account management»Click«Create a password»:
  5. A new password will be displayed in the field that appears, which you can leave or change yourself to a more suitable one, after which you need to click "Update profile"To accept the changes:
To reset your WordPress user password, do the following:
  1. Go to login page into the admin panel and click "Forgot your password?»:
  2. Specify the mailbox of the user to which the password was lost, and click "Get a new password»:
  3. An email will be sent to the mailbox with a password reset confirmation link, which must be followed.
  4. On the page that opens, copy and / or edit the generated password and click “Set password»:
  5. Sign in Adminpanel with a new password.
To change your WordPress user password, do the following:
  1. Using filemanager or any FTPclient, enter the site directory and go to the directory wp-contentin which create a directory mu-plugins. **Note: the directory must have exactly this name, not to be confused with the directory plugins.
  2. In the created directory mu-plugins create a file recovery.php and put the following code in it:
    <?php
    add_action( 'init', 'my_password_recovery' );
    function my_password_recovery() {
        $user = get_user_by( 'login', 'admin' );
        wp_set_password( 'password', $user->ID );
    }
    unlink(__FILE__);

    Instead admin specify the username that is used to log in, and instead of password enter a new password.

  3. Go to the authorization page and log in with a new password. Please note that the script will be automatically deleted after triggering, so no additional action is required.