title: htaccess rewrite rule 3 variables
body: <pre><code>RewriteRule ^albums/([^/.]*)/?$ albums.php?user=$1&amp;name=$2 [L,QSA]
  RewriteRule ^albums/([^/.]*)/([^/.]*)/?$ albums.php?user=$1&amp;name=$2&amp;album_id=$3 [L,QSA]
  
  original
  albums.php?user=123&amp;name=foo&amp;album_id=456
  
  result
  albums/123/foo/456
  </code></pre>
  
  <p>I have a htaccess rewrite url, I need to set up 3 get variables, but this code is not working</p>
  
  <p>anyone know how to fix this?</p>