I want to redirect all URLs to HTTPS.
I have added below lines to .htaccess file.
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
I can access my website properly on HTTPS but when I enter website url in browser directly,
I get http://mydomain.com/?url=/
please help me to resolve this issue