Reputation: 10665
I have a site on my machine (localy).
Users used to access it using both HTTP and HTTPS. Now there is a problem with HTTPS configuration.[ It is not working]
Is it possible to redirect HTTPS requests to the HTTP port temporarly?
Upvotes: 0
Views: 2271
Reputation: 615
in your .htaccess file paste this code:
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Upvotes: 2