If you put this in your htaccess, the server will forward all request from HTTP to HTTPS
(with all details after the domain included like get variables)
It will also rewrite all www.yourdomain.de requests to yourdomain.de.
So its not possible to create 2 sessions on the same website.
Replace yourdomain.de with your own domain which is needed.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.yourdomain\.de [NC]
RewriteRule ^(.*)$ https://yourdomain.de/$1 [L,R=301]