santi-centelles

Mar 8th, 2018 11:33 AM

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

lord-spown

Mar 8th, 2018 01:03 PM

.env and modify your link to https://......

iambuxer

Mar 8th, 2018 01:20 PM

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.