1

I need to redirect HTTPS connections to HTTP site. The problem is there is a SSL certificate on the server. It has problems and we applied to get a new one. But google already indexed our site with https prefix and all firefox users coming from google search result lands on SSL error page. Explorer, Chrome, Safari works fine but Firefox gives SSL error page.

enter image description here

I tried the code below in .htaccess file but since SSL connection already established code below does not work.

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

Is there a way to tell apache never establish secure connection with client and serve non-secure version of the site?

1 Answer 1

0

No it's not possible. The SSL connection is the first thing that happens BEFORE any content (including redirects) can happen. You need a new, valid, cert to resolve.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.