---
title: "WordPress Tip: When you Forget your WordPress Username and Password"
date: 2010-08-10
description: "$( document ).ready(function() { // Handler for .ready() called. $('#toc').toc({ minimumHeaders: 3, listType: 'ul', showSpeed: 0, headers: '#content h2, #content h3, #content h4, #content h5, #content h6' }); /*..."
canonical_url: https://idratherbewriting.com/2010/08/10/wordpress-tip-when-you-forget-your-wordpress-username-and-password/index.html
---

> For AI agents: a documentation index is available at https://idratherbewriting.com/llms.txt. Markdown versions of all pages are available by appending .md to any page URL.

# WordPress Tip: When you Forget your WordPress Username and Password

In working with clients on WordPress projects, I routinely run across people who forget their WordPress username and password. Fortunately, if you still remember the FTP username and password, just upload [this "emergency.php" script](https://yoast.com/emergency-wordpress-access/) from Yoast to your root directory, go to http://yoursite.com/emergency.php, and voila, you can change your WordPress username and password. You may need to download the wp-config.php file to grab the database password, but that's it.
