Support » Fixing WordPress » can't login to wordpress anymore

Viewing 11 replies - 1 through 11 (of 11 total)
  • via PHPMyAdmin you can reset the correct url in the database

    The problem is that I cannot login to my dashboard anymore. So I can’t reset anything there.

    Mieke

    You don’t need to log in wp-admin to use PHPMyAdmin 😉

    Ah! Is there any way you could tell me in simple words how to do this? I am afraid that I am not technical. 🙁 If not thank you for you help so far.

    Mieke

    Moderator justingreerbbi

    (@justingreerbbi)

    Forum Moderator

    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');

    place this in your functions.php file via ftp if you can ftp. Change the URLS to where you moved you install and it should update

    I can ftp I found. But I can’t find functions.php can you tell me in which section to find it?

    functions.php is a file in your theme directory. If your theme hasn’t this file you can simply create it and put the code above, but remember to open and close PHP tag

    <?php
    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');
    ?>

    Hey, I done pretty much the same thing on Friday and needed my hosting company to reset the setting on the site to before when I went messing with it. Im sure if you contact yours they will do the same for you.

    Ah thanks. I have found it now. I am still using the standard theme, changing that was one of the next things to do.

    It is a pretty big file and I don’t know were to insert the code. Sorry to be such a bother.

    You can post that code before php close I mean just before

    ?>

    Thanks for all the advice. This is a bit too hard for me. I think I will indeed ask my hosting company to help.

    Mieke

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘can't login to wordpress anymore’ is closed to new replies.