Reputation: 199
I am redesigning a website that is currently served over HTTPS
via WPEngine. The new site will just be a static HTML landing page, which will be hosted on a totally new server over HTTP
.
My concern is that users will get connection errors. Can I just use .htaccess
to redirect HTTPS
to HTTP
to solve the issue?
Upvotes: 0
Views: 54
Reputation: 4573
May be this could help you, in htaccess
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
This will redirect https://www.test.com to http://www.test.com
For more http://www.hashbangcode.com/blog/using-htaccess-redirect-https-http
Upvotes: 1