Answers for "how to redirect to https laravel"

PHP
1

force https redirection laravel

// app/Providers/AppServiceProvider.php
URL::forceScheme('https');
Posted by: Guest on June-21-2021
0

redrectnh to https n laravel

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Posted by: Guest on February-16-2021

Code answers related to "how to redirect to https laravel"

Browse Popular Code Answers by Language