Sorry in advance for being stupid … I copied a client’s site to make a local instance of it to have a look around. They created an admin user for me, and I changed the password, but forgot to save it. I have created the local version of the site, but no longer have my login credientials for wp-admin.
The site won’t send mail to allow me to rest my password, and I can’t install an SMTP plugin as I can’t get access to the dashboard.
I have access to wp-config.php (along with every other file). Can I somehow use that to get admin access? I figure there’s a simple solution, but it’s beyond me! TIA.
[ad_2]