went to go sign into an old old blog of mine today and i can't remember the password. the email is used is long since invalid, and i'mkind of stuck for what to do, is there any way i can manually draw out or reset my password as the administrator on my server?
Can i retrieve or reset a wordpress password manually?
Collapse
X
-
Tags: None
-
Found this after searching for ways to retrieve lost wordpress passwords...
I'm not a coder, but it might be worth a try..
"Since I do not have root access to this machine, I wrote a small script, to help me out. It is a simple admin-password resetter containimg a form for setting a new admin password. The POST-value is overwrites the unretrievable on in the WordPress database:
$sql = "UPDATE ".$wpdb->users."
SET user_pass = '".md5($_POST['emergency_pass'])."'
WHERE user_login = 'admin'";
$link = $wpdb->query($sql);
wp_redirect('wp-login.php');
exit();Download: WordPress Admin Password Resetter
Usage:
Unzip
Upload password-resetter.php to your WordPress root (!this is NOT a WordPress Plugin!)
run http://[your WordPress URI]/password-resetter.php
set a new password
Very important: DELETE password-resetter.php
"Comment
-
so i'm assuming i switch out 'wpdb' with whatever my database name is and 'emergency_pass' to whatever i want my new pass to be?Comment


Comment