Install SSL
Hello, today I've installed Let's Encrypt SSL certificate on my server and need to know which changes have to do on the script to make it works fine.
Thanks
.env and modify your link to https://......
Hi.
In the folder application
open the file .env
then find the line APP_URL
and modify your URL with https
After that, in the root directory of your website open your .htaccess
file and put this code under RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://YOURSITE.com/$1 [R,L]
(modify YOURSITE.com with your website URL)
That way you will be always redirected to the https version of your site.