title: Make RewriteRule to domain with no www
body: <p>I want to rewrite <code>http://www.example.net/anything</code> to <code>http://example.net/anything</code>. But Im looking for universal rule that will work for multiple different domains n-th order. </p>
  
  <p>I made this, but it doesn't work</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} www\.(.+)$
  RewriteRule www\.(.+)$ http://$1 [R=301]
  </code></pre>