title: .htaccess redirect rule for subdomains
body: <p>My site has a lot of subdomains(3rd and 4th levels), for example:</p>
  
  <pre><code>http://de.site.com/catalog
  http://product.de.site.com
  </code></pre>
  
  <p>and I need to automaticaly redirect all domains with "www", for example</p>
  
  <pre><code>http://www.de.site.com/catalog
  http://www.product.de.site.com
  </code></pre>
  
  <p>to url without "www":</p>
  
  <pre><code>http://de.site.com/catalog
  http://product.de.site.com
  </code></pre>
  
  <p>Could you please help me with .htaccess rules for this case ? Please note that this rule must be applied only for 3rd+ levels of domains.</p>