TEXT 105
How to force SSL with .htaccess By Smughost on 25th February 2020 09:42:47 PM
  1. RewriteEngine On
  2. RewriteCond %{HTTPS} off
  3. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Notes & Paste Tool by Smughost.com is for notes, source codes or data.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.