title: What's the difference between RewriteRule and redirect 301
body: <p>I was using something like this...</p>
  
  <pre><code>RewriteRule here/(.*) http://www.there.com/$1 [R=301,L] 
  </code></pre>
  
  <p>but couldn't get it to work</p>
  
  <p>So I used this...</p>
  
  <pre><code>redirect 301 /here http://www.there.com 
  </code></pre>
  
  <p>and it worked fine. </p>
  
  <p>Can someone explain the difference?
  Do you need both?</p>
  
  <p>Also... how do I exclude paths from the redirect?</p>
  
  <p>Like... 
  redirect 301 all...  </p>
  
  <pre><code>redirect 301 /here http://www.there.com 
  </code></pre>
  
  <p>but</p>
  
  <pre><code>/here/stayhere.html
  </code></pre>
  
  <p>Thanks</p>