Stephen Martin
Stephen Martin

Reputation: 199

How Do I Migrate From HTTPS to HTTP?

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

Answers (1)

Amogh
Amogh

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

Related Questions