Easily Reset Your Wordpress’s Admin Pasword

How often are you change your Wordpress admin’s password? What happen if you forgot your Wordpress admin account password? Do you need to delete the databse and recreate it?

Although you cannot recover your current admin’s password, but it is not neccessary to delete the database and recreate it. You can simply replace it with a new password. Here, i will show you a very simple method to replace the password.

First of all, open your favorite code editor, or simply Notepad if you don’t have any. Then, place these code into the file and save it as reset.php.

<?php
require('./wp-blog-header.php');

global $wpdb;
$password = '12345';    //change this to your desired password.
$admin_login = 'admin';        //your Wordpress admin username.

$wpdb->query("UPDATE $wpdb->users SET user_pass = MD5('$password') WHERE user_login = '$admin_login'");
?>

You can replace the ‘12345‘ with your desired password and ‘admin’ with your admin account username. After that, upload the reset.php file to your Wordpress root folder.

Then, go to your browser and type “http://your-domain.com/reset.php“. Done! You can now login with your new admin password.

Note: Please delete the reset.php file from the server after you reset your password.

Leopard Admin - Beutiful Wordpress Admin Panel

Do you like Mac OSX Leopard design? You can skin your Wordpress Admin Panel into Leopard style by using Leopard Admin plugin.

The screenshot above show your admin panel after activate the Leopard Admin. Simply download, install and activate the plugin to have your Leopard admin panel. No extra modification needed.

This plugin works well on both Wordpress 2.5 and 2.6. I tried the plugin on Wordpress 2.7 but it looks weird. Hope the author will release a new version when Wordpress 2.7 final version release.