View Single Post
Old 05-20-2021, 02:04 PM  
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,108
Eddy and Sly - get in touch

@Sly - you should have shown him 301 redirect from HTTP to HTTPS

Here is a freebie... many ways of doing it, and this is just one

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote