Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to redirect HTTPS to HTTP after SSL expiry without renewing SSL?

We have tried https to http redirect using htaccess but it did not work 

 

we have used the following redirect code

 

RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=,L]

user-image
Question added by Babu Raj Devi , Head of ECommerce , DUBAI
Date Posted: 2016/03/15

 I've tried so far is to make a personal certificate and then added a rule to transfer the users in web. config. Without a certificate, no SSL/TLS connection can be made. Then how can you send a HTTP redirect response with no request over a connection? Thus, it is technically impossible to do so.

You can probably generate a self signed certificate temporarily, which means if the users accept this certificate, they can at least still visit your site, and be redirected by you to HTTP. I am not sure if a self signed certificate works for Google search spider or any other search engine though.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.