0

We used to have a secured site, but recently purchased a separate reservation software that provides SSL on our reservation page only (we cancelled our SSL). Now i have so many links pointing to our secured site and i have no idea how to fix it! How do i redirect just a home page (https://www.mysite.com) to non-https page (http://www.mysite.com). I saw 10000 examples of this 301 redirect code, by can not understand what exactly i should do. Please, help and provide a code where i should just change www.mysite.com to the actual site (sorry...i'm not that good at this and would appreciate a simple answer)!!!!

  • Apache? nginx? lighttpd? – Daniel W. Apr 26 '14 at 17:04
  • forgot to mention that i already have redirect from non www to www domain: RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L] – user3576489 Apr 26 '14 at 17:12
  • DanFromGermany, what do yo mean? I have no idea.... i'm trying to do it through .htaccess – user3576489 Apr 26 '14 at 17:14
  • i tried to add this: RewriteCond %{HTTPS} on RewriteRule (.*) http://www.mysite.com and it didnt work. I guess this code works when you redirect a page that has SSL to non-ssl page, but we do not have SSL any more : ( – user3576489 Apr 26 '14 at 17:59
  • possible duplicate of [How do you redirect HTTPS to HTTP?](http://stackoverflow.com/questions/8371/how-do-you-redirect-https-to-http) – Daniel W. Apr 26 '14 at 18:08
  • It is not duplicate. As i already mentioned....we do not have SSL!!!! None of those 301 redirect codes work (you have to have SSL for the site to be redirected from https to http). Is there anything i can do???? Anybody?! – user3576489 Apr 26 '14 at 22:23
  • If your SSL site doesn't exist anymore then what happens when your open `https:/example.com/`? – anubhava Apr 27 '14 at 04:22
  • I SEE THIS: Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error code: ERR_SSL_PROTOCOL_ERROR – user3576489 Apr 27 '14 at 13:14
  • You can't. You would have to buy a new cert and then redirect. But when you have a cert, it's better to always use SSL. – Daniel W. Apr 27 '14 at 16:22

0 Answers0