softmaji-header-wbg-min
softmaji-header-wbg-min
softmaji-blue-header-min
softmaji-blue-header-min
  • Home
  • Services
    • Website Designing
      • Responsive Website Design
      • Static Website Design
      • Website Redesign
      • Landing Page Design
    • Website Development
      • PHP Website Development
      • WordPress Website Development
      • Ecommerce Website Development
      • Custom Website Development
    • Digital Marketing
      • Google Adwords/PPC
      • Facebook Promotion
    • SEO Service
  • Trainings
    • Learn Web Development
    • Learn Graphics Design
    • Learn Business Communication Skills
  • Pricing
  • Portfolio
  • Events
  • Offers
  • Contact Us

Resetting WordPress Admin Password

HomeResetting WordPress Admin Password

Offer Expire Soon..


Only New User..


It is obvious to forget passwords as one of the human attributes. At times, it can be crucial to recover lost password. Today, we will see how to recover lost password for WordPress admin (wp-admin).

It can be recovered by the following ways:

1. By using ‘Lost Password’ option.

2. By using PhpMyAmin in cPanel.

3. By using FTP.

4. By using the Emergency Password Reset Script.

In this article, we are going to see the first 3 options, leaving the 4th option.

# 1. By using ‘Lost Password’ option.

If you know the username or the email account of your WordPress, then you can use the ‘Lost Password’ utility and reset the password.

Related: How To Add, Remove And Manage Users In WordPress?

a. Access your WordPress Login page i.e, http://mydomainsite.com/wordpress/wp-login.php (NOTE: the url may differ depending upon your WordPress installation preference).

b. Hit the ‘Lost your password?’ option

WP

c. Insert the username or email address and click on ‘Get New Password’

WP1

4. An email with a link to reset password will be delivered at the email address registered at the time of WordPress installation.

5. Click the link in the email and it will open the page to reset password. Enter twice a strong new and at least twelve characters long password, then click ‘Reset Password.’

# 2. By using PhpMyAmin in cPanel.

You can the WordPress password in the database with the help of phpMyAdmin in cPanel. NOTE: You must have cPanel access in order to do so.

a. Log into your cPanel.

b. Now under ‘Databases’ section, click ‘phpMyAdmin’

php1

c. Click on the name of your WordPress database. Now click on ‘wp_users’ table and then ‘edit’ it.

WP4

d. On the next page type in or copy/paste your new password into ‘user_pass’ box, select MD5 in Function column and click Go to finish.

#3. By using FTP.

This method can be used when you don’t have access to your WordPress database or instead of the above two methods.

a. Connect to your website data with the help of your preferred FTP client such FileZilla or CyberDuck and navigate to themes section of your WordPress installation in order to download functions.php file to your PC. For example, my path to the file as below:

/home/demopara/public_html/wp-content/themes/twentyfifteen/functions.php

b. Edit the functions.php on your pc and on line 2, right after the first <?php line add the following code/line:

wp_set_password(‘xxxxxx’,’admin’);

NOTE: Make sure to replace ‘xxxxxx’ (without quotes) with your preferred password, and user ‘admin’ (without quotes) with your actual WordPress username.

c. Save the file and upload it file back to your /themes folder under your hosting account on the server.

d. Now login to your WordPress admin area with the temporarily set password.

e. Now you need to remove the wp_set_password line from the functions.php file on your pc and re-upload the file as above. By doing so, the WordPress would not reset the password again and again every time you would access the admin area.

#4. By using the Emergency Password Reset Script. 

You need to do as instructed at the following url in order to use the Emergency Password Reset Script 

http://codex.wordpress.org/User:MichaelH/Orphaned_Plugins_needing_Adoption/Emergency

That’s all !

Related Articles

❯How to Use the WP Toolkit to Secure and Update WordPress?

❯Know How to Extract “wppress” Archives Created by the All-in-One WP Migration Plugin?

❯Know How To Set Constant FS_Method?

Faizan Khan
10
Latest News
Prev PostSteps to Perform When Your WordPress Site is SlowMay 14, 2024
Next PostHow To Change WordPress Website Address (URL)?May 14, 2024

Related items

Latest News

How To Install WordPress Blog?

Let’s see how to install WordPress blog on your WordPress hosting account. Let’s

Faizan Khan
14/05/2024
144
Latest News

How to Install a Theme in WordPress?

Steps to install a theme in WordPress: Log in to WordPress. Navigate to Appearance and cli

Faizan Khan
14/05/2024
126
Latest News

Fatal error: Allowed memory size of xxxx bytes exhausted (tried to allocate xx bytes)

WordPress is a free open source blogging tool. When posting a article OR uploading a image

Faizan Khan
14/05/2024
140
softmaji-header-wbg-min
SoftMaji is one of the affordable web development company in the web development industry. You don’t have to go searching anywhere for finding a reliable web development partner because we have crafted web development solutions that can fill the void left by others in the market.
Services
  • News Portal Development
  • Custom Website Development
  • PHP Website Development
  • Ecommerce Website Development
  • WordPress Website Development
Shortlinks
  • Blog
  • Offers
  • Events
  • Pricing
  • Reviews
  • Portfolio
  • Our Team
  • Payment Options
  • Explore Packages
Company
  • FAQ
  • Careers
  • Sitemap
  • Feedback
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Refund And Cancellation
Contact Us
4/40 Vipul Khand , Gomti Nagar Lucknow
Uttar Pradesh 226010
Landline - +915223162418
Email - hello@softmaji.in
Office Time Mon - Sat
(10:00AM - 5:00PM)
Sunday Close
+91 9795405324
Lucknow , Uttar Pradesh
Copyright © 2022. All Rights Reserved.