After installing SSL - How to make http://domain.com/order.html become HTTPS://domain

Discussion in 'Programming' started by newbie911, Jul 10, 2010.

  1. #1
    Hello everyone,

    Im new here and a newbie in general.

    I have a question that has been driving me crazy, I looked on google and tried many things but simply can't get it to work.

    I installed SSL on my domain and it works properly, but I always need to manually type in https:// to see the secure version.

    All I want is that when people click to go to my http://www.domain.com/order.html page it automatically sends them to the https://www.domain.com/order.html

    the order.html page is the only page with sensitive information on it, hence I would like it to automatically redirect into HTTPS://www.domain.com/order.html

    I read everywhere online, main suggestions are by using .htaccess and modrewrite, but I have had no luck doing so.

    I use htaccess to redirect all requests to http://domain.com to http://www.domain.com so my site only has 1 version in google, and that works properly.

    But I CANT get http://www.domain.com/order.html to redirect to HTTPS://www.domain.com/order.html

    Please try and put the code here so I can get it working already...it is the last step I need so I can start marketing and taking orders.

    Any help is greatly appreciated

    Thank you
     
    newbie911, Jul 10, 2010 IP
  2. Cees-Holland

    Cees-Holland Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Maybe I am thinking to simple, but...

    At one point in your website visitors jump to your order page.
    Put all your order-page-related-things in your https-directory.
    Let visitors jump to that https-order-page (thus not to http-order-page).

    I think that solves your problem
     
    Cees-Holland, Jul 24, 2010 IP