• I have changed my home and site URL through my wordpress admin panel, and as a result disabled access to the website and to the admin panel.

    After reading about the problem here

    I changed the relevant fields in the database exactly as detailed in the instructions (edited wp-options->siteurl and wp-options->homeurl and gave them the original URL), but the problem was not resolved: the website, it’s wordpress admin panel and FTP are all not accessible.

    Any idea what is the problem (and how to fix it)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey Stanley9191,

    FTP is not available? Changing those two particular options in the database should not cause issues with your FTP access.

    What is the url?

    Thread Starter Stanley9191

    (@stanley9191)

    Hey Stanley9191,

    FTP is not available? Changing those two particular options in the database should not cause issues with your FTP access.

    What is the url?

    Thanks for your reply.

    Maybe I wasn’t clear before: What caused the whole problem was me changing those urls in my wordpress admin panel, not in the DB.

    changing those options in the DB did not cause further problems, just didn’t solve anything (even though I followed the instructions in the link that I mentioned).

    FTP is available if I go directly to its IP. I used it to try another solution that was suggested in that link, which is adding these lines:
    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);
    (when example.com being my website url)

    to the wp-config.php file, but it still didn’t help.

    I’m sorry, but I’d rather not mention my url. If anyone can help me despite that, I’ll be really grateful.

    Hey Stanley9191,

    Do you have phpMyAdmin access through a hosting Admin Panel?

    If so, I would make an attempt to change these in the database.

    To do so, locate your database, then follow the directions on https://codex.www.ads-software.com/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    I would remove the options you changed in the wp-config.php file also.

    Thread Starter Stanley9191

    (@stanley9191)

    Hey Allen Moore,

    I do have phpMyAdmin access, which I already used to change the database as you said (that’s what I’ve been trying to tell, might be my not-that-good English that made it unclear).

    I tried this with and without those lines in the wp-config.php file, in both cases it didn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing URL from the database’ is closed to new replies.