SSL
Install SSL certificate on your hosting
You may use the SSL feature on your cPanel to provide an SSL Certificate for your website or you may use a free SSL certificate provider like Let's Encrypt.
Redirect http to https
http to httpsChange the following code in
.envfile fromAPP_URL=http://domain.comtoAPP_URL=https://domain.com.There have 3 options:
Option 1: Add
ENABLE_HTTPS_SUPPORT=trueto.envfileOption 2: Add to
.envfile following code:
FORCE_SCHEMA=https
FORCE_ROOT_URL=https://domain.com
ENABLE_HTTPS_SUPPORT=falseOption 3: If you are using hosting and Cpanel, you can Force HTTPS Redirection for your domains. Check this article.
Last updated