WordPress.org

Ready to get started?Download WordPress

Forums

Locked out of admin, site down (4 posts)

  1. amylee9
    Member
    Posted 1 year ago #

    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?

  2. KristinCodesWP
    Member
    Posted 1 year ago #

    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

  3. amylee9
    Member
    Posted 1 year ago #

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

  4. amylee9
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic