jump to navigation

Forgot Password WordPress? October 9, 2009

Posted by admin in : Website , trackback

Code 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“:

  1. open folder name of the theme
  2. search file functions.php
  3. paste the following code after code first <? php (at top)

wp_set_password('newpassword',1)

example picture:

functionsphp Forgot Password Wordpress?

* 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?

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments»

1. Martha Thomson - August 12, 2010

if you are going to get a VPS server make sure that it has cPanel coz it makes server maintennance easier.”‘”

2. laiptu - August 18, 2010

Awesome themes! I’m going to try most of them on my wordpress site.



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)