Make sure the file name is .htaccess
and not .htaccess.txt
. There shouldn’t be any file extensions.
Secondly, I haven’t tried your code but this is the recommended code for forcing https
Make sure the file name is .htaccess
and not .htaccess.txt
. There shouldn’t be any file extensions.
Secondly, I haven’t tried your code but this is the recommended code for forcing https