I have in my .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
The pages are correctly redirected to their https// “version”.
However, no $_POST data can be read in php. That is, I always get an empty $_POST.
If I do not use RewriteRule, everything is fine.
I think I am missing something.
Make the url for your form into https, so it doesn’t have to trigger the redirect.