Timeline for Redirect HTTP request to HTTPS request
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 20, 2019 at 8:58 | comment | added | chaos thunder | Thanks for you help, at last, I need to find another solution based on your idea, due to its other complicated redirection rules. But fortunately, it works. Thanks for your kindness. | |
Jul 27, 2018 at 17:55 | comment | added | Rick Hellewell | Put the rewritecond/rewrite rule at the top, just under the reweriteengine on. Also, contact your host to see their recommendations, as the hosting server OS/configuration may make a difference. | |
Jul 27, 2018 at 17:45 | comment | added | chaos thunder | Unfortunately, I tried removing everything else except redirect rules but it's not working. Why is the HTTP to HTTPS redirection so complicated? I tried all solutions found on Google but NOTHING works. Below is my .htaccess after removing all other rules (to test redirection only) Options +FollowSymlinks DirectoryIndex home.html index.php Options -Indexes RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
Jul 27, 2018 at 16:53 | history | answered | Rick Hellewell | CC BY-SA 4.0 |