Making URL secure through .htaccess?

Discussion in 'Programming' started by mvhs, Nov 24, 2009.

  1. #1
    I'm trying to make a website that has an affiliate software secure (make url HTTPS), so when I refer to the website in the tracking code on another site, it would work.

    For example, I want
    "https://website.com/affiliate/" to be found, so I can use the affiliate link in a way like "https://website.com/affiliate/?a_aid=testaff&chan=kindofchannel".

    Notice the "https" instead of "http". Currently it would only work for HTTP, what code would I add to the .htaccess so the "HTTPS" would work?

    Thanks in advance!! BTW I believe this is done through .htaccess, i'm using post affiliate pro 4, but if there's another way let me know.

    Also i'm willing to hire someone to do this, easy $$, send me your AIM/MSN and we'll discuss!
     
    Last edited: Nov 24, 2009
    mvhs, Nov 24, 2009 IP
  2. mvhs

    mvhs Active Member

    Messages:
    824
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Willing to paypal if someone..... Anyone can do this?
     
    mvhs, Nov 24, 2009 IP
  3. NeoCambell

    NeoCambell Peon

    Messages:
    456
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Last edited: Nov 28, 2009
    NeoCambell, Nov 28, 2009 IP
  4. rogan4567

    rogan4567 Active Member

    Messages:
    103
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    55
    #4
    If you have an SSL certificate installed on your server, it's easy. However, you need to purchase a certificate and have it installed before you can use it.

    I have .htaccess code that'll force a visitor to land on the https version of a page, and I'll PM that to you in a few minutes -- maybe that'll work for you.
     
    rogan4567, Nov 29, 2009 IP