Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  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,181

    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

 

 

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
  •