Manually insert .htaccess redirect http to https
-
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]
The topic ‘Manually insert .htaccess redirect http to https’ is closed to new replies.