+92 308 5039935
Get a Free Quote
+92 308 5039935

How to Change WordPress Password Without Email Access

How to Change WordPress Password Without Email Access

Some times we forget password, but the worst is when we also lose access to our email. This was something that one of my client experienced recently. I want to share the method with every one so next time this happens don’t worry as long as you have access to cPanel just follow the steps below and access your site in no time.

 

  1. Open wp-config.php and find DB_NAME (Database name).
  2. Go to phpMyAdmin and click on the database name.
  3. Click on wp-users and you will see list of all users.
  4. Click on edit for which user you want to change the password.
  5. You will see that user_pass is encrypted.
  6. Navigate to MD5 Encryption website, enter your new password in box and encrypt it.
  7. Now copy and paste the encrypted password in user_pass then click on Go to save.
  8. That’s All! go to your wp-admin and new password will work.

 

Note: You can also change email and then reset password from wp admin panel 😉

Hello, I am a web designer and developer working since 2013. I build WordPress themes, write and extend WordPress plugins, edit WordPress themes and plugins in accordance to customer needs and play games when free ;-)
Related Post
Minify CSS
How to minify CSS in WordPress Theme or Plugin

Minification is used to remove unnecessary elements, e.g: extra spaces. There are a lot of php scripts to minify or compress the css but we are going to use a simple function  here. It is usually used for inline css in WordPress.

Read more
How to add inline CSS in WPBakery Page Builder Element

WPBakery Page Builder (Formerly Visual Composer) is one of the best drag and drop front-end/back-end builder. You can easily apply inline css using style attribute but what if you need to apply css to a pseudo elements?

Read more
How to Auto Load Files in WordPress?

You may need to auto load files in WordPress themes or plugins. But I wouldn’t recommend it if you are creating theme to sell on themeforest. They didn’t accepted themes with this auto load function few years ago when we used

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *