• alextababa

    (@alextababa)


    Novice here.

    I wanted the site to load up with a category as the home page. Naively changed the wordpress homepage to a category url. Now the site loads partially, as you can see by visiting it-

    https://www.the-defender.org

    -but the admin url doesn’t work either so i can’t change it back….

    any ideas on how to reset the site url to default… https://www.the-defender.org ?

    Cheers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • comechi

    (@comechi)

    You can log into the WordPress DB and update the wp_options table with the right URL.

    comechi

    (@comechi)

    UPDATE wp_options SET option_value = ‘https://www.the-defender.org’ WHERE option_name = ‘siteurl’

    I think that should do the trick. There could be a less technical way too . . .

    ??

    Thread Starter alextababa

    (@alextababa)

    thanks comechi- I’ll see if I can work out how to do that. od you mean the sql db? how do i log into it?

    cheers

    ali

    Thread Starter alextababa

    (@alextababa)

    ok i’m into my sql database and have found the options bit- but i can’t see how to change it or where…… aaaargh

    Thread Starter alextababa

    (@alextababa)

    the ‘siteurl’ is still the same. perhaps it was the other option on the options page i changed – i remember there were two i could have changed.

    thanks!

    lelion

    (@lelion)

    I did this stupid thing as well, once… Then fixed it in the MySQL database, by guessing where is that option stored;-) (worked!) So should be quite straightforward, just find and edit the appropriate url in the database:)

    Thread Starter alextababa

    (@alextababa)

    i gave up. decided to make a fresh start. my blog was a bit pretentious anyway.

    but thanx!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changed directory in option general- now can’t access site- panic!’ is closed to new replies.