Forgot Password WordPress? October 9, 2009
Posted by admin in : Website , trackbackCode Red… If forget the password login to wordpress admin panel plus what email you use to notificated that blog.
But can you still login into cPanel or FTP?
If you still can, there is a way to change the password. The way is login to menu Cpanel File Manager or via FTP, open the folder wp-content/themes and select nameĀ of themes that are being used, if you forget the name theme also look at the blog footer, there is a common theme and author site (if not in replace) or click menu View menu in your browser then select View Page Source, there is source code and look at code like this:
<link rel="stylesheet" type="text/css"
href="http://domain.com/wp-content/themes/freshnews/style.css"
That is theme you are using.
Have found a theme at wp-content/themes? now back to the problem “forgot password“:
- open folder name of the theme
- search file functions.php
- paste the following code after code first <? php (at top)
wp_set_password('newpassword',1)
example picture:

* rename newpassword with a password that you choose.
* then save the file.
* try accessing again the login page of your blog, fill the new username and password that.
* If you have do it, replace the password from the user menu, then remove this code from functions.php file for security reason.
It’s easy?
Recent Search:
make my own web (3) make money on internet (3) easy money (3) information (2) free proxy (2) Samsung (2) COMMUNICATION (2) alternative (2) blank (2) video streaming hosting (2)
Comments»
if you are going to get a VPS server make sure that it has cPanel coz it makes server maintennance easier.”‘”
Awesome themes! I’m going to try most of them on my wordpress site.