I am using following rule of .htaccess to redirect site from http to https.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
But my site code is placed under folder Testversion. So when I add this rule in .htaccess file, my url becomes "https://abcd.com/Testversion" instead of "https://abcd.com"
Any one knows how I can skip Testversion folder name ?