Mobile app version of vmapp.org
Login or Join
Connie744

: How to direct https requests to http while SSL cert expired? The SSL certificate on my site has expired, which has caused https requests to the site to fail. While I am sorting out a new

@Connie744

Posted in: #Https #Redirects #SecurityCertificate

The SSL certificate on my site has expired, which has caused https requests to the site to fail.

While I am sorting out a new SSL certificate, what can I do to redirect https requests into the http requests?

The https folder of my site is sym-linked to the http folder.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cody1181609

You would have added http to http redirect in your .htaccess file or your .conf file.

Open the file where the redirect has been added and comment the redirect/rewrite code.

Your website will start to resolve using protocol.

10% popularity Vote Up Vote Down


 

@Barnes591

If you have Apache and mod_rewrite, then put this script in a .htaccess file that needs to be in your root folder

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) %{HTTP_HOST}%{REQUEST_URI}

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme