.Htaccess :: HTTPS to HTTP :: Redirect Entire Site ? .htaccess 301 redirect HTTPS to HTTP

2 replies
<<<...>>> I wasn't sure which subforum to post this question in so I did both... Not to spam but b/c I need some quick help! Sorry & Thanks

I've been doing searches for the answer to this question and I keep finding the answer.. To redirect only a portion of a site... Not what I want. I want to redirect the ENTIRE website!

If (for some reason) the user starts out with HTTPS and types in the rest of my websites URL I get a "Secure Connection Fail" or another error.

Ex. https://lawsuitinformation.org --->
automatically redirect to http://lawsuitinformation.org
((Secure Connection Failed - An error occurred during a connection to lawsuitinformation.org. (Error code: ssl_error_rx_record_too_long)))

Ex. https://www.careydanis.com ---> automatically redirect to http://www.careydanis.com
((Unable to connect - Firefox can't establish a connection to the server at Carey Danis & Lowe | Attorneys At Law.))

Can anyone help me out here?!

Code:
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !^(/checkout)
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]



NO "(/checkout)" ---> WHOLE site/domain!

I'm sure it's something real stupid and easy... I'm the moron for multitasking to many damn things! This forum has neen a GOD SEND so THANK YOU IN ADVANCE!

CHEERS!
#301 #entire #htaccess #http #https #redirect #site

Trending Topics