title: Links on Subdomain broken after htaccess rewrite
body: <p>Problems:</p>
  
  <p>1) Need ALL urls to always redirect to non-www
  2) domain.com needs to automatically redirect to sub.domain.com</p>
  
  <p>Based on other articles here, I've tried:</p>
  
  <pre><code>Options +FollowSymLinks -MultiViews
  RewriteEngine on
  RewriteBase /
  
  RewriteCond %{HTTP_HOST} ^www\.(sub\.domain\.com)$ [NC]
  RewriteRule ^ http:://%1%{REQUEST_URI} [R=301,L]
  </code></pre>
  
  <p>[had to insert an extra <code>":"</code> for this to post]</p>
  
  <p>Which "works", but then all of the links on my site 404.</p>
  
  <p>Can you point out what I'm doing wrong?</p>