I’m in a bit of an annoying situation. I have my WordPress website exported to a root folder. I have downloaded ‘Local’ app and can view the website locally. However I can’t remember the password for the WordPress account and the email attached to the account no longer exists (domain email address, can’t recover) – so can’t use ‘forgot password’ function. Is there anyway I can create a new WordPress account and set this website up through that account.
Sorry if I’m not making much sense? All help welcomed, feel free to ask any questions. Thanks
Yeah, you can change the password in the database. Here’s an article that explains how: https://help.one.com/hc/en-us/articles/115005585949-Change-your-WordPress-password-in-the-database#step-2
If you don’t have PHPMyAdmin and use a different program to manage your database, essentially you want to replace your MD5 hashed password in the database with a new MD5 hashed password that you know. If you need to create a MD5 hash you can do so with a site like this: https://www.md5hashgenerator.com/
You can add a new user via the database using phpMyAdmin, check here for more details:
[https://themeisle.com/blog/wordpress-phpmyadmin/#how-to-add-admin](https://themeisle.com/blog/wordpress-phpmyadmin/#how-to-add-admin)
[https://www.fixrunner.com/how-to-change-admin-email-in-wordpress/#using](https://www.fixrunner.com/how-to-change-admin-email-in-wordpress/#using)