How can I change my WordPress password?


  • Applies to: Grid
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access
  • Applies to: DV
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access
  • Applies to: Managed WordPress
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access

READ ME FIRST

This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by Media Temple. Please take a moment to review the Statement of Support.

For more detailed instructions on this and other WordPress topics, we strongly advise that you visit the WordPress Codex.

CloudTech_ProductPage_217x57

CloudTech Can Help!

If you're having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can tweak and tune your server for optimal performance. For more information on what CloudTech can do for you, please click here.

Overview

Circumstances may arise where you are unable to remember your WordPress admin password. In these situations, it may be necessary to reset your password.

Instructions

Method 1 - WordPress Dashboard

  1. If you still have access to WordPress Dashboard, click on your username in the upper right corner.
  2. Select Edit Profile.

    D-1.png

  3. Navigate to Account Management. Then click Generate New Password.

    D-2.png

  4. Type a new strong password. Then select Update Profile.

    D-3.png

Method 2 - WordPress Emailer

WordPress has an integrated function which can send you a password reset email. This will require you to know/have access to the email address associated to your WordPress username.

Keep in mind the WordPress email may possibly be different from your personal email address, work email address, or the email address to log into https://ac.mediatemple.net.

  1. Open a web browser and navigate to example.com/wp-admin
    (replacing example.com with your domain name).

  2. Click on Lost Your Password?

    E-1.png

  3. Enter your WordPress username or the email address associated to your username.
  4. Click Get New Password.

    E-2.png

  5. Your screen should refresh and prompt a message to confirm a confirmation link has been sent.

    E-2.5.png

  6. Follow the instructions provided in the email to reset your password:

    E-3.png

Method 3 - phpMyAdmin

If you require a refresher on how to login/ use phpMyAdmin, feel free to review the following guide:
Managing A MySQL Database with phpMyAdmin Managing A MySQL Database with phpMyAdmin Managing A MySQL Database with phpMyAdmin

  1. Log into phpMyAdmin and enter the MySQL database username/password associated with your WordPress installation.
    (the database username and password will be located in your wp-config.php file)

  2. Once in your database, select the wp_users table.
    (some WordPress sites may have a custom table name, such as r8om_users in this example)

    php-1.png

  3. Locate the desired user. Then click on the Edit icon.

    php2.png

    (in the ID column you may notice a number next to each WordPress user. This number can be used to complete the password reset option in Method 4).

  4. Locate the user_pass section. Click on the drop down and change it to MD5. Type your new password into the text box.
  5. Click on Go.

    php-3.png

Method 4 - functions.php

NOTE:
To utilize this method, you will need file access to your WordPress site through FTP, SSH, or File Manager. To utilize this method, you will need file access to your WordPress site through FTP, SSH, or File Manager. To utilize this method, you will need file access to your WordPress site through FTP or SSH.

  1. Navigate to the active theme's functions.php file.
    (this will typically be located in the file path /wp-content/themes/yourthemename/functions.php)

  2. Edit the file by inputting this code after the first <?php.
wp_set_password( 'newpassword', 1 );


FTP-1.png

Replace newpassword with your desired password, and 1 with the user ID number. The user ID can be found in the wp_users table. If you require more information on finding the user ID, you can refer to this article under Method 3 - Steps 1-3.

Resources