How can i redirect my website i.e subdomain.domainname.com to https without www in the front and currently this is my htaccess code
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
by default when user visit subdomain.domainname.com to should go https
the configuration breaks