Support » Fixing WordPress » Locked out of admin, site down

  • amylee9

    (@amylee9)


    I just did something very, very bad. I changed my WordPress Address (URL) in my general settings by mistake and am locked out of my admin now, and the site is down. How can i possibly get back into my admin and change it back?

Viewing 3 replies - 1 through 3 (of 3 total)
  • KristinCodesWP

    (@kristincodeswp)

    You can change it in your wp-config.php file, add these lines there:

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    or through one of these alternate routes:
    http://codex.wordpress.org/Changing_The_Site_URL

    amylee9

    (@amylee9)

    Thank you! i will give it a try..may take awhile..

    amylee9

    (@amylee9)

    Oh thank you! I did it the hard code way via cpanel, it will do. (note to self: don’t mess with setting when exhausted). Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Locked out of admin, site down’ is closed to new replies.