Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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 ajoutée par Babu Raj Devi , Head of ECommerce , DUBAI
Date de publication: 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?