• Resolved nikoneddie

    (@nikoneddie)


    Hello,

    I followed your instructions from this article: https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/#comment-55072

    I have the following errors:
    #SSL TEST PAGE#
    This page is used purely to test for SSL availability.
    #SERVER-HTTPS-ON# (on)
    #SERVERPORT443#
    #ENVHTTPS#
    #LOADBALANCER#

    #SUCCESFULLY DETECTED SSL#

    As per the instructions above I added the code to “stop editing the htaccess file” in the wp-config file?
    I added all the codes listed in the article for these errors. I checked my website after adding the code for each error. My website broke after adding the following code for #ENVHTTPS#.

    if you see #ENVHTTPS#, add
    RewriteEngine on RewriteCond %{ENV:HTTPS} !=on
    RewriteRule (.*) https://%{HTTP_HOST}%/$1 [R=301,L]

    I noticed the code is different from all the other codes. Could the code be wrong or am I doing something wrong?

    Also, I noticed after rechecking my website again for ssl (https://www.nikaousa.com/wp-content/plugins/really-simple-ssl/ssl-test-page.php) that the errors were still there.

    I would greatly appreciate your help.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi,

    This page does not list any errors, just shows the detected headers. These will not go away!

    You do not need to add all code variations. Just one is enough.

    If a line of code causes an error, you can remove it.

    Hope this helps!

    Thread Starter nikoneddie

    (@nikoneddie)

    I am sorry. I did not mean to say errors.

    Thank you very much for your quick response and help!

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

The topic ‘Manually insert .htaccess redirect http to https’ is closed to new replies.