[Resolved] Site URLs changed and now I am locked out of site

Home Forums Support [Resolved] Site URLs changed and now I am locked out of site

Home Forums Support Site URLs changed and now I am locked out of site

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #135881
    BeeLady11

    Hi
    I am in a bit of a panic and would really appreciate any help you can offer.
    I tried changing my site url’s and now I just get errors and cannot log back into my control panel to reset them.
    I have tried following the advice at http://codex.wordpress.org/Changing_The_Site_URL and entered the code into functions.php but I just get an error saying it doesn’t recognise ‘update_option’

    Any help gratefully received!
    thanks

    #135885
    bdbrown

    Hi Annie. We’ll try to help you get going again.

    I just get errors

    Can you list the error message(s) you’re getting?

    and cannot log back into my control panel to reset them.

    Does that mean you can access the WP login screen but you can’t log in? Or does “control panel” mean something else?

    Have you tried changing the URLs directly in the database using phpMyAdmin?

    #135887
    Tom
    Lead Developer
    Lead Developer

    Open wp-config.php and set your URLs like this:

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

    That will at least get you back in.

    Sorry for brief message – on mobile.

    #135889
    BeeLady11

    I followed your advice using phpMyAdmin and it’s worked!
    Thankyou so much – fantastic support.

    A 🙂

    #135895
    bdbrown

    You’re welcome. Glad you got it fixed.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.