Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member apfan's Avatar
    Join Date
    Jun 2005
    Location
    Iceland
    Posts
    23

    Default redirect from https to http

    Hi i have tried seraching but could not find som answers.
    Since my ssl certificate break down and my homepage cannot be accesed on https no more. So i just wondering if it ís some kind of code that i could place in te htacess filen that redirect backwards from https to http.

  2. #2
    Member gupi's Avatar
    Join Date
    Apr 2004
    Posts
    125

    Default

    try this in your .htaccess file:
    Code:
    RewriteEngine On
    RewriteCond %{SERVER_PORT} = 443
    RewriteRule ^ http://www.here-is-your-desired-domain.com%{REQUEST_URI} [NS,R,L]
    Stefaniu -gupi- Criste
    Hangar Hosting - a safe place for your Romanian online business

  3. #3
    Member apfan's Avatar
    Join Date
    Jun 2005
    Location
    Iceland
    Posts
    23

    Default

    Quote Originally Posted by gupi
    try this in your .htaccess file:
    Code:
    RewriteEngine On
    RewriteCond %{SERVER_PORT} = 443
    RewriteRule ^ http://www.here-is-your-desired-domain.com%{REQUEST_URI} [NS,R,L]
    That did not work. But thanx anyway. Any other ideas?.

Similar Threads & Tags
Similar threads

  1. Redirect from https to http problems
    By Frankc in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-27-2011, 09:02 PM
  2. Redirect https to http for non-ssl enabled domains
    By rkula in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-21-2011, 02:23 PM
  3. Redirect Http to Https
    By billau in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 10-26-2004, 09:12 PM
  4. Redirect http to https://
    By internethosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-08-2003, 03:55 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube