title: Error trying redirect www to non www using htaccess
body: <p>Im having one problem trying to redirect www to non www, using htaccess.</p>
  
  <p>Thats my .htaccess code:</p>
  
  <pre><code>    Options All -Indexes
      Options +FollowSymLinks -MultiViews    
  
      RewriteEngine On
      RewriteBase /
  
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
  
      RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
      RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
  </code></pre>
  
  <p>When i access <a href="http://www.zipurl.me/developer" rel="nofollow">http://www.zipurl.me/developer</a> im redirect to <a href="http://zipurl.me/developer" rel="nofollow">http://zipurl.me/developer</a>.
  But when i access my main page, <a href="http://www.zipurl.me" rel="nofollow">http://www.zipurl.me</a> im not redirected to <a href="http://zipurl.me" rel="nofollow">http://zipurl.me</a>.</p>
  
  <p>Any suggestions?</p>