title: htaccess help, need to force www, https, and remove index.php
body: <p>I have a rewrite in my htaccess file that removes index.php from the url</p>
  
  <pre><code>RewriteEngine on
  RewriteCond $1 !^(images|media|system|themes|_css|_js|favicon\.ico|robots\.txt|cert\.html|index\.php) [NC]
  RewriteRule ^(.*)$ /index.php/$1 [L]
  </code></pre>
  
  <p>In addition to this, I want to force the <code>www</code> and <code>https</code> for any request that does not have either.</p>
  
  <p>So ultimately all urls should look like this: <code>https://www.example.com/whatever/something/</code>; and for SEO purposes, if a url misses the mark, it should 301 redirect to it's correct version, for example:</p>
  
  <pre><code>http://example.com/about/
  301 redirect to
  https://www.example.com/about/
  </code></pre>
  
  <p>Would love some help accomplishing that, thanks!</p>