title: .htaccess - Exclude a file from redirect
body: <p>I want to exclude some files from redirecting but it still redirects to desktop site. Here is my code from .htaccss of mobile.website.com.</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_URI} !^/Singers/singer\.php
  RewriteRule ^(admin|user)($|/) - [L]
  RewriteCond %{HTTP_HOST} ^mobile\. [NC]
  RewriteCond %{HTTP_USER_AGENT} !(android|blackberry|googlebot-mobile|iemobile|iphone|ipod|opera\smobile|palmos|webos) [NC]
  RewriteRule ^ http://www.website.com%{REQUEST_URI} [L,R=302] 
  </code></pre>
  
  <p>When user visits <strong>mobile.website.com/Singers</strong> on desktop, he is redirected to <strong>www.website.com/Singers</strong>.</p>
  
  <p>I want to use <strong>mobile.website.com/Singers/singer.php</strong> to copy and manage files. I use <strong>www.website.com/admin/index.php</strong> to submit data to <strong>mobile.website.com/Singers/singer.php</strong> but it is redirected to <strong>www.website.com/Singers/singer.php</strong> without copying the files.</p>