title: Can not access query string in .htaccess?
body: <p>For some reason I cant access the query value only for the internal rewrite in .htaccess?</p>
  <pre><code>Options +FollowSymLinks
  
  RewriteEngine ON
  RewriteBase /
  
  ##external redirect
  RewriteCond %{QUERY_STRING} ^id=([0-9]*)$
  RewriteRule ^(.*)$ /test/user-profile/%1? [R=301,L]
  
  #internal rewrite
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)/(.*)/(.*)$ /test/user-profile.php?id=$3 [L]
  </code></pre>
  <p>Here is the entire htaccess file. Its redirecting the url perfectly, just cant get the id value by itself? Thank you</p>