Add the following to the top of the .htaccess file in your websites document root to force https:// (SSL) on the domain. If you are using our web hosting, you can use the web file manager or access it using an FTP client. A valid LetsEncrypt SSL certificate should be generated automatically for your domains.

RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

This works for any Apache or LiteSpeed web server.
Ha estat útil la resposta? 28 Els usuaris han Trobat Això Útil (127 Vots)