Viewing 12 replies - 1 through 12 (of 12 total)
  • JenR

    (@jennifer-roberts)

    This article explains several ways to change those back – you’ll need to have access to your server files or your database to do so:

    https://codex.www.ads-software.com/Changing_The_Site_URL

    Your hosting company can help you with FTP or phpMyAdmin if you’re not familiar with one of those.

    Thread Starter KathyDavie

    (@kathydavie)

    I appreciate the quick turn-around on this, but where do I find the wp-config.php? Yes, I’m in my host site’s file manager thing and I’m looking at an assortment of folders. And I spend so much time hunting through these folders trying to find anything, it’s driving me mad.

    I’m guessing that I go into wp-content > themes > responsive > and nothing there. I tried the wp-admin > maint / network / users. Then I thought maybe it’s in wp-includes > theme-compat, but no.

    I don’t have this wp-config.php file…

    JenR

    (@jennifer-roberts)

    https://codex.www.ads-software.com/Editing_wp-config.php

    But if you’re in your theme files, I’d actually suggest just going with the theme functions file method –

    https://codex.www.ads-software.com/Changing_The_Site_URL#Edit_functions.php

    Thread Starter KathyDavie

    (@kathydavie)

    Problem with that is that I’ve only ever been able to get to the functions.php file by going through themes in WordPress. On my WordPress site as opposed to my BlueHost File Manager. I’ve NEVER been able to find any php files in BlueHost

    JenR

    (@jennifer-roberts)

    Ask Bluehost for help with this – they should be able to help you get to the right place to access your file.

    Thread Starter KathyDavie

    (@kathydavie)

    Yeah, I just got off a chat with them. They got me to the wp-config and the functions. And there isn’t anything there that is close to what either possibility suggested at https://codex.www.ads-software.com/Changing_The_Site_URL .

    At this point, I think I have to trash everything and start over from scratch.

    JenR

    (@jennifer-roberts)

    With the functions file method – it doesn’t matter what is in the file – all you need to do is ADD these lines to the top of the file right after the opening “<?php” line.

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

    Use your URLs in place of example. Re-read and follow the steps carefully – you can do it :).

    JenR

    (@jennifer-roberts)

    BTW, I think you can also roll-back a site on BH – to before you made that change – check with them about that option and how you do it.

    Thread Starter KathyDavie

    (@kathydavie)

    I’ll ask about the roll-back, and I’ll try the paste option. Fingers crossed!!

    Thread Starter KathyDavie

    (@kathydavie)

    Well, nothing I did. Got back in a chat with BH and they went in and fixed it in my database. Everything is back and lovely. Thanks so much, everyone!

    Thanks JenR, you just saved my bacon too, although I wish I had read this a couple of hours earlier. I think a tiny warning on the settings page might be in order. Regards, Randall

    Thread Starter KathyDavie

    (@kathydavie)

    I agree with Randall. The information on the page is misleading.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Can't log in to WP site, get 404 page’ is closed to new replies.