How to redirect in one single step in htaccess or settings.php?

Hi guys. 1. I want my drupal 7 site to be accessible just under https://www.example.com by redirecting all other versions (http:) and 2. I have a second domainexämple.com which sould also be redirected to the main version (example.com).

Witht he default .htaccess I keep running into redirect chains redirecting in several instances: from http:// to https:// and then from https:// to https://www.

So I started fiddling myself with the .htaccess and the best I came up with is this:

<code>
        RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www.MYSITE.com*
    RewriteRule ^(.*)$ https://www.MYSITE.com/$1 [L,R=301]</code>

With this I swap from http:// to https://www in one single redirect step.

Unfortunately this does not work for subpages. So <code>http://mysite.com/categorypage</code> will get redirected to <code>https://mysite.com</code>
Any idea how to solve that very last bit? (could also be with settings.php but I am not familiar how to implement redirects there)

Drupal version: 


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