Adding https to links in the site...

Discussion in 'HTML & Website Design' started by cgl102770, Oct 11, 2015.

  1. #1
    ...I have a client who is a psychologist, and has an online referral form that asks sensitive questions like social security number. We added an ssl certificate, however, its still possible to access the referral form via an http link as opposed to an https link. For example, the referral button on the site links to:
    <a href="referral.html">Referrals</a>
    Would it be more secure if I changed the link to:
    <a href="https://www.example.com/referral.html">Referrals</a>
    Putting their entire site address in the link, with the https?
    Thank you for any suggestions.
     
    cgl102770, Oct 11, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    If you have an SSL sertificate, why isn't the whole site (everything) set to HTTPS? That's the simplest solution, and makes sure you don't accidentally send users to a link with http, etc.
     
    PoPSiCLe, Oct 11, 2015 IP
  3. cgl102770

    cgl102770 Active Member

    Messages:
    40
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Thank you for the reply. I wasn't sure of the best way set everything to https. A google search says to edit the .htaccess file, is that what you would suggest?
     
    cgl102770, Oct 11, 2015 IP
  4. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #4
    webcosmo, Oct 12, 2015 IP
  5. cgl102770

    cgl102770 Active Member

    Messages:
    40
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #5
    Great, thank you!
     
    cgl102770, Oct 12, 2015 IP
    webcosmo likes this.