Redirect from HTTP to HTTPS

Already changed the site URL to HTTPS and added .htaccess rules but the main site is still not redirecting from HTTP to HTTPS.

Any further relevant troubleshooting details: I would like to get the valuable feedback from the SLS team, I tried a SSL plugin, .htaccess rules, but was not able to redirect HTTP to HTTPS. The main site works properly, but if you enter the HTTP version it doesn’t redirect to HTTPS.

I have already tried this: