• Manually changed URL from http to https following new SSL cert issuance. Now cannot access site in http or https, cannot access cpanel. Hosted by GoDaddy but SSL cert wasn’t working due to settings in WP (changing URL, inserting code by cpanel, etc). Need to access .htaccess file at least. Help!

    Also, is this instruction still up to date and accurate?
    To add the following in .htaccess to allow https URL:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    from https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/

    • This topic was modified 4 years, 3 months ago by kaneidentity.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • Now as I’m getting a database connection error. Not sure why but you should check the ‘wp-config.php’ to make sure the settings are correct.

    Thread Starter kaneidentity

    (@kaneidentity)

    Yeah that’s what I’ve been seeing this whole time. My wp-config was reverted from all changes to the original state, I just checked as well. The only things that have been changed in all, are the site/home URL through General Settings in WordPress and the code we input into .htacess yesterday. Externally, a new SSL cert was applied that is not working but the site still showed (insecure) before the URL change.

    A lot of people had this issue from forums I found. They all auto post a link to instructions on how to change the URL back to original because apparently the databases are tied to the site URL? Only changing the URL back fixed it for some people so I need to find how to revert and I don’t know how. I will try manually setting the URL to “www.kanekuo.com” (no http) without https:// in SQL to test; I’ve tried both https:// and https:// maybe my original was without them.

    • This reply was modified 4 years, 3 months ago by kaneidentity.
    • This reply was modified 4 years, 3 months ago by kaneidentity.
    Thread Starter kaneidentity

    (@kaneidentity)

    Update: after going to GoDaddy online support 3 times, this last one was different and more helpful. He corrected the database by resetting the database password? I don’t know what that is or how that was affected but I am assured the site is fixed, and the only issue remaining is the SSL cert, which I just rekeyed for reissuance. So we shall see. The site doesn’t show but should no longer say datacase connection error and instead show error with SSL cert.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Cannot access site after changing URL’ is closed to new replies.