title: How do I make sure my site loads with and without www?
body: <p>I work on a site that loads fine with wwww in the URL: <a href="http://wwww.flowerwood.com" rel="nofollow noreferrer">http://wwww.flowerwood.com</a>, however, if I remove the www Chrome cannot find the site.</p>
  
  <p>I tried adding an .htaccess rule based on this <a href="https://stackoverflow.com/questions/14245668/redirect-www-to-non-www-or-the-other-way-around">entry</a> but Chrome still gives an error.</p>
  
  <p>This is the code I used:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC]
  RewriteRule ^(.*) http://www.%1/$1 [R=301,NE,L]
  </code></pre>
  
  <p>What is the correct way to solve this?</p>
  
  <p>Thanks.</p>