I wanted to use the site URL change in the general settings page of the admin panel to remove the trailing /wp from my privately hosted wordpress site. After submitting these changes, I am locked out by errors every time I attempt to log in--from a log-in page where the CSS is gone. I have attempted to update the config.php file with
But this did nothing. The Relocation function also did nothing, and I have no functions.php file. According to the codex, that leaves me only with editing the database directly. How can I undo the damage and achieve my desired result of landing on my wordpress site with just example.com instead of example.com/wp?