title: Trouble with 301 redirect when www is not specified in url in some browsers
body: <p>I can't seem to find an answer to this specific question so sorry if it's answered.</p>
  
  <p><strong>Here's the redirect we have in .htaccess</strong></p>
  
  <pre><code>Redirect 301 /product-name /products/product-name/
  </code></pre>
  
  <p><strong>Problem:</strong>
  If the www is left off then the redirect changes the path and no longer works. e.g. if this is entered into the browser window:</p>
  
  <pre><code>domain.com/product-name
  </code></pre>
  
  <p>Then the redirect creates this url in the browser window which obviously doesn't go anywhere:</p>
  
  <pre><code>www.domain.comproduct-name
  </code></pre>
  
  <p>Not sure what I'm doing wrong sorry - I should also mention that we have a non-www redirect at the bottom of the virtual host file like this:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName domain.com
      Redirect permanent / http://www.domain.com
  &lt;/VirtualHost&gt;
  </code></pre>