Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

redirect from http to https laravel

RewriteEngine On

RewriteCond %{HTTPS} !on
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redirect #http #https #laravel
ADD COMMENT
Topic
Name
1+8 =