title: .htaccess http to https redirect
body: <p>I am currently using the following htaccess to redirect my site to https and www if not already using it.</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} !^www\.
  RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
  </code></pre>
  
  <p>However, I have a subdomain forum.example.com that cannot be redirected to https as it is a forum and has content that isn't secure.</p>
  
  <p>When I use the above code in my htaccess, it redirects the forum to <a href="https://www.example.com/forum" rel="nofollow">https://www.example.com/forum</a> instead of just forum.example.com.</p>
  
  <p>(Basically I need an exact copy of the htaccess from molten-wow.com)</p>
  
  <p>Notice how they have https, but the forum does not redirect.</p>
  
  <p>Any advice? If I am being unclear or you need clarification on anything please let me know and I'll clarify.</p>
  
  <p>Thanks in advance</p>