Results 1 to 8 of 8

Thread: changing over to https
      
   

  1. #1
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default changing over to https

    Ok, I have never had to deal with these ssl transfers before so forgive my ignorance....

    My client has just had VH install the certificate so now her site shows up as not only http://www.***** but also https://www.****

    The problem is all her links she has spent years getting all point to http://www

    So her site is still not secure when people come through this way.

    I personally thought that once this certificate was in place the http automatically redirected but I guess this is not the case.

    You also can't do redirects from http to https as the CP won't offer this option.

    What is the way around this? how does she get EVERY client going into the site via https?
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  2. #2
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,232

    Default Re: changing over to https

    Ramsey - she shouldn't want all the pages to be https - the only ones she wants that for should be the ones that need it. You don't mention what type of site she has - but for example, on a store - only the CHECKOUT pages are https.

  3. #3
    nzbr's Avatar
    nzbr is offline Lieutenant Colonel
    Join Date
    Dec 2006
    Posts
    547

    Default Re: changing over to https

    Sorry Bethers,

    Can I take this opportunity to ask you how I set up a https in my booking form?
    As you've mentioned I need it just in this page so people fell safer sending the credit card details to book a tour.

    Many thanks,

  4. #4
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: changing over to https

    Most of cpanels tools (like password protect directory, hotlink protection, ip banning, etc) are just little .htaccess code generators. Cpanel only provides you with... maybe 3-4% of what you can do with .htaccess

    Heres code you can add to your .htaccess file that will redirect all http:// to https://
    Code:
    RewriteCond %{SERVER_PORT} ^80$
    RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
    Although, as Bethers has pointed out, you don't need to it on your entire site, any page that uses SSL is going to load slower then a page without it (the whole encryption/decryption routine takes time to do)

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  5. #5
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: changing over to https

    Quote Originally Posted by Bethers View Post
    Ramsey - she shouldn't want all the pages to be https - the only ones she wants that for should be the ones that need it. You don't mention what type of site she has - but for example, on a store - only the CHECKOUT pages are https.
    Its made with soho, so I have no idea how she just makes the cart side of her site https... I am not soho friendly at all!
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  6. #6
    nzbr's Avatar
    nzbr is offline Lieutenant Colonel
    Join Date
    Dec 2006
    Posts
    547

    Default Re: changing over to https

    Heres code you can add to your .htaccess file that will redirect all http:// to https://

    Code:
    RewriteCond %{SERVER_PORT} ^80$RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
    Thanks for that 'Watdaflip'. Last question: Where do I put it in my booking form page? 'between tag'....in page properties? And then the page will change forever into https?

    Cheers,

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: changing over to https

    No, this is the content of the .htaccess file!

    You should add the above code in your htaccess file, or, if you don't have one, you should create one (in Notepad) with the above content, Save As, All Files, use the name " .htaccess ". When done, upload it in your public_html
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,564

    Default Re: changing over to https

    Problem solved thanks to Karen.. There is a section in the cart admin that you just enter the https address in... all working now. Thanks to all who replied anyway, appreciated.
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49