PAINFUL..Redirect https to http://www

Discussion in 'Apache' started by jeremynet, Sep 8, 2009.

  1. #1
    Hi Dps,

    Really need some expertise out there.

    How do I redirect:

    https://abc.com TO http://www.abc.com

    Since after removed the cert from website, 90% SE traffic is from https. How do I redirect the traffic?

    I've googled around for htaccess, but no luck so far.
    Please help!

    Jeremy
     
    jeremynet, Sep 8, 2009 IP
  2. olaf2

    olaf2 Active Member

    Messages:
    1,362
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    80
    #2
    inside the private root folder create a rule (in .htaccess)
    RewriteEngine On
    RewriteURL (.*) http://www.domain.com/$1
     
    olaf2, Sep 8, 2009 IP
  3. jeremynet

    jeremynet Active Member

    Messages:
    1,189
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Sorry mate. The code is not working. Any other suggestion?
     
    jeremynet, Sep 8, 2009 IP
  4. olaf2

    olaf2 Active Member

    Messages:
    1,362
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    80
    #4
    that should work, but what is the problem? the warning about the missing certificate?
     
    olaf2, Sep 8, 2009 IP
  5. Mulith

    Mulith Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I know how to prevent the SE's from indexing these pages if that helps? You will lose any associated pagerank though.
     
    Mulith, Sep 8, 2009 IP
  6. jeremynet

    jeremynet Active Member

    Messages:
    1,189
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    93
    #6
    hi olaf2,

    it's still showing page not found
     
    jeremynet, Sep 8, 2009 IP