• Have a website that started using HTTPS.

    In troubleshooting, I saw in the Settings -> General that the Site Address (URL) starts with https.

    It was greyed out so I went to WP Config file and it was set to http there?!?
    I removed the setting from WP Config and tried editing in the admin console.

    In trying to change it back to http, I edit it and save but it reverts back to https right away.

    I disabled every plugin and actually switched the theme to 2015 thinking one of these might be the culprit but it did the same thing.

    It seems more a SSL type setting as changing it to a completely different domain automatically reverts to https.

    It seems to be within WP as it changes just that setting as people said to check .htaccess, etc. but it just has some request_filename entries…

    Not sure where else to look?? Help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    If it was greyed, it’s probably due to installation/hosting setting in your config.php after install.
    Maybe your server is set up to use HSTS what means, that if you or anybody else visited your site it force to HTTPS instead of HTTP.
    Try to contact your hosting provider for more help.
    You can also check if your .htaccess file and config.php is the same as default files upon installation or if there are some changes what can cause this.
    If you are a little bit familiar with a database, check wp_option table – on top Site URL and Home what URLs are there. (these are saved from settings from Settings – General)

    Thread Starter trevc

    (@trevc)

    the wp_option table reflects http, and I only see https within the administration.

    I have contacted the hosting provider (WPEngine) and they essentially said I’m on my own as they indicated it must be a plugin or theme issue but removing them and resorting to a standard WP theme didn’t change it. 🙁

    Do you have something in config.php where is SSL or HTTP mentioned? Maybe force SSL for admin or anything where its used? Something like this define('FORCE_SSL_ADMIN', true);
    What about your .htaccess file? its default one or with some modification?
    Maybe some security/redirection/SSL plugin?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Site URL setting reverts to HTTPS’ is closed to new replies.