Accidentally locked myself out of WordPress site, please help! General Settings page

Hi there, noob here who doesn’t know what they’re doing. I went into WordPress Dashboard --> General Settings and saw the fields “WordPress Address” and “Site Address” were filled with my IP address “”. I replaced both fields with “” which apparently seems to have locked me out of my site.

Now the URL won’t work, I cannot access the login page from there, and the only login page that works,, redirects me to an error page every time i attempt to login. Also, when I enter my theme is deprecated, which it wasn’t before I made the change on the General Settings page.

Is there any way I can regain access to the backend of my site and change the General Settings page back to the way it was?? Please help!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Looks like it works fine for me. Maybe you need to clear your cache.