• Hello,

    I think I did something really stupid this week. I have an .org site but still there was /wp behind my url. Somebody send me some help on how to change this and I started to do so. So I took the /wp off on the dashboard and clicked save. But then I found the rest of the explination too difficult to follow. Today I tried to go back to my blog. But I can’t log in and the pages won’t open anymore either.

    Does anybody have any idea what I can do to get back into my blog?

    Sincerely,

    Mieke

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

    Thread Starter ragnel

    (@ragnel)

    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 ??

    Thread Starter ragnel

    (@ragnel)

    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

    update_option('siteurl','https://example.com/blog');
    update_option('home','https://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

    Thread Starter ragnel

    (@ragnel)

    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','https://example.com/blog');
    update_option('home','https://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.

    Thread Starter ragnel

    (@ragnel)

    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

    ?>

    Thread Starter ragnel

    (@ragnel)

    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.