title: htaccess and forward one url to another
body: <p>I have this rewrite code:</p>
  
  <pre><code>RewriteCond %{HTTP_USER_AGENT} ^.*iPhone.*$
  RewriteRule ^(.*)$ http://stagingsite.com/site/mobile [R=301]
  RewriteRule ^faq/$ /mobile/faq
  </code></pre>
  
  <p>The first line is working correctly. If the user is on an iphone then redirect to the mobile directory where the index page is displayed.</p>
  
  <p>I also want users visiting:</p>
  
  <p><a href="http://stagingsite.com/site/faq" rel="nofollow">http://stagingsite.com/site/faq</a></p>
  
  <p>to get forwarded to <a href="http://stagingsite.com/site/mobile/faq" rel="nofollow">http://stagingsite.com/site/mobile/faq</a> if they're on an iphone but the last line of code above doesn't seem to be achieving this.</p>
  
  <p>Any ideas what I have wrong?</p>