Force https without disturbing alias

I found many solution on forcing https with is all familiar like
RewriteCond https off
RewriteRule ….

I also read the force https document but I found out that those code will disturb my content alias like

When I visit http://example.com/content_alias
It will redirect to
https://example.com/index.php
But not
https://example.com/content_alias
Why

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed