Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11

    Default Re: Https SSL Certificat help

    Thanks.

  2. #12

    Default Re: Https SSL Certificat help

    It seems to have worked?

  3. #13

    Default Re: Https SSL Certificat help

    Yes.

  4. #14

    Default Re: Https SSL Certificat help

    Good

  5. #15
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Https SSL Certificat help

    Here's what I use in my .htaccess file.

    #Rewrite everything to https
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    There's no specific domain name required. It's not my code but it works well in redirecting any 'normal' url to the https site.

    my-site.com redirects to https:my-site.com
    www.my-site.com redirects to https:my-site.com
    http://my-site.com redirects to https:my-site.com
    etc.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #16
    Join Date
    Nov 2016
    Location
    Stockport, UK
    Posts
    149

    Default Re: Https SSL Certificat help

    Quote Originally Posted by Egg Bramhill View Post
    Here's what I use in my .htaccess file.



    There's no specific domain name required. It's not my code but it works well in redirecting any 'normal' url to the https site.

    my-site.com redirects to https:my-site.com
    www.my-site.com redirects to https:my-site.com
    http://my-site.com redirects to https:my-site.com
    etc.
    I would just like to put on record how useful this advice was, saving me hours. This forum is my go to site when problems arise on the basis that I probably won't be the first to encounter a problem and that someone has probably already solved it.

    Thank you to the problem solvers!

    Edited to point out that the missing bit in the quote (the useful bit) is in the previous posting.

  7. #17
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Https SSL Certificat help

    My pleasure Ian
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

Bookmarks

Posting Permissions

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