Hi all,
I want to set up a facebook tab with some basic info (opening hours for multiple locations), however facebook requires both a https and http link for users.
I've read that I can get the server to redirect https to http via the below code in the .htaccess file - but it isn't working for me.
Can anyone help me to figure out why this doesn't work?
I've tried putting it in both public_html directory .htaccess, and the directory above that (my root directory for hosting).
Thanks on advance for anyone who can shed some light!
I want to set up a facebook tab with some basic info (opening hours for multiple locations), however facebook requires both a https and http link for users.
I've read that I can get the server to redirect https to http via the below code in the .htaccess file - but it isn't working for me.
Code:
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS} off
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
Can anyone help me to figure out why this doesn't work?
I've tried putting it in both public_html directory .htaccess, and the directory above that (my root directory for hosting).
Thanks on advance for anyone who can shed some light!