I have this .htaccess file to redirect all request to index.php in the root.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php
Now I want to add to force http protocol to https.
How I must change my file?
Thanks
If you want to force all requests to your domain to be secure, then add the code below to your .htaccess file.