title: .htaccess r=301 vs r=302
body: <p>I am creating rules in my .htaccess for mobile, or bad pages etc...</p>
  
  <p>I am using these rules:</p>
  
  <pre><code>rewriterules badpage /goodpage.html [r=302]
  
  rewriterules iphone /iphone.html [r=301]
  </code></pre>
  
  <p>Which one is better to use?</p>
  
  <p>I know is temporary and permanent, but when a temporary becomes permanent, my understanding is both do the same thing so same result at the end. </p>
  
  <p>I would like to know what is the difference between the 301 and 302 on a browser and bots perspective.</p>