Skip to content Skip to sidebar Skip to footer

Https To Http Htaccess Redirect For Home Page Only

I need help being able to redirect the home page of a website I'm building from HTTPS to HTTP. The website I'm building is using cart 66 and unfortunately when the site redirects

Solution 1:

As suggested on apache wiki:

http://wiki.apache.org/httpd/RewriteHTTPToHTTPS

you could use:

RewriteEngine On
# This will enable the Rewrite capabilities

RewriteCond %{HTTPS} on
# This checks to make sure the connection is HTTPS

RewriteRule ^/?homepage\.html http://%{SERVER_NAME}/homepage\.html [R,L]

changing homepage.html to your home page name.

Post a Comment for "Https To Http Htaccess Redirect For Home Page Only"