51 million websites added during the year 2012.. Do you want one?

Lets Nurture Blog

Reset Your WordPress Password Without Email using FTP

Wordpress admin reset using cPanelContinuing from my last post I have found a much simpler method of Reset Your WordPress Password without using your mail. This is our little contingency in case you lose mail server access when you want to change your password.

Previously we saw how you would change your admin password using the phpMyAdmin tool. Today we are going to see a much simpler method of changing your password.

This method is going to require you to have FTP access to your hosting site. So here is how it goes:

Step 1: Navigate to wordpress directory

Navigate to the wordpress directory in the root of your server. From there navigate the breadcrumb trail:

“\wp-config\themes\”

Step 2: Modify php code

Here you will find a file named “functions.php”. Open the file and add the following line:

<br /><br />&lt;?php wp_set_password(‘password’,1); ?&gt;<br /><br />

Step 3: Login to WordPress

Save your changes and go back to the login screen of your wordpress site. You can now login with the password:”password”.

Step 4: Revert the php code

Now the most important step is that after you have logged in you must open “functions.php” and remove the line you added. Unless you remove this line, no matter what password you change to it will always revert to “password” when you login.

Step 5: Change your password

After you have done this you may now Reset Your WordPress Password from the dashboard to anything of your choice

If you run into any sort of trouble you can refer the alternative method from the previous post and if you need professional help feel free to contact us and let our WordPress Developers help you.

Wordpress Wookies (8 Posts)

We are Wordpress Wookies exploring new and wonderful developments related to the most powerful blog engine and all time most popular Content Management System. Check out Our Wordpress Website Development Work here