• Resolved Sean

    (@sean-h)


    As it is right now I have this disabled in the plugin because I’m doing it from the Let’s Encrypt area, which seems to be working fine. I’m just wondering what’s best, or does it not make any difference? At one point I had it on in both places and the LE force https seemed to turn itself off, so I elected to not use the plugin for https force.

    *update*

    I thought to try turn it off in LE and enable force https in the plugin, but it asks me to ‘please, install an SSL certificate first!’ I even tried deleting and reinstalling a new SSL, and it installs and force works if I do it from within the LE area in cPanel. So no big deal, we can put this ‘issue’ to the back of the line.

    • This topic was modified 4 years, 9 months ago by Sean. Reason: updated info
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @sean-h

    Would it be possible to provide your site URL please?

    Regards,
    Stanimir

    Thread Starter Sean

    (@sean-h)

    Hi Stanimir,

    Thanks for getting back to me.

    So far I have managed to force https from the plugin on all but 1 of my sites in the same account. Https was always being forced successfully for all sites from within the Let’s Encrypt area, but for some reason I’d like to try doing it from the plugin. But the question still remains, does it matter where it’s done from, and if both, will it cause any problems?

    The site I still can’t force https from the plugin is https://www.eurochilli.com Also, that is the primary domain for my cPanel account, if that might have anything to do with it.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @sean-h

    It appears that you have php.ini in your root folder, and there is something that blocks the SSL certificate check.

    However, the option is turned off in the plugin settings, but the site is still being served over https because you have a valid certificate and the HTTPS enforce rule in your htaccess.

    I’ve enabled the option, and the toggle is now enabled in plugin settings.

    Regards,
    Stanimir

    Thread Starter Sean

    (@sean-h)

    Hi Stanimir,

    I’m really sorry, I have no idea how I ended up opening 2 tickets about the same thing.

    Anyway, I saw https force was now on in the plugin, so to test, I turned it off, but now can’t get it back on again, same problem: “Please install SSL first!” (even though there already is one!). I’m also not sure what in php.ini could be blocking the SSL check on just this one site.

    What I have now done is to copy the force https rules generated by the plugin that appear in the htaccess of the other sites when I turn it on there and have manually pasted them into the htaccess file of the site in question, and I have also removed the # tags from all the force https rules, to be sure they stay there. I think it is safe to say the one thing that is not going to change is that we will always be using https, no matter what. I might turn off caching from time to time for testing, but never https.

    So I guess I prefer to manually and permanently set https outside of any plugin, and to then forget about it ??

    • This reply was modified 4 years, 9 months ago by Sean. Reason: Grammar
    • This reply was modified 4 years, 9 months ago by Sean.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Force https’ is closed to new replies.