The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

redirect from https to http

Discussion in 'General Discussion' started by apfan, Mar 23, 2006.

  1. apfan

    apfan Member

    Joined:
    Jun 6, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iceland
    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. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    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]
    
     
  3. apfan

    apfan Member

    Joined:
    Jun 6, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iceland
    That did not work. But thanx anyway. Any other ideas?.
     
Loading...

Share This Page