title: Redirecting admin/??? to admin.php/??? with .htaccess
body: <p>Here's my htaccess file at the moment:</p>
  
  <p></p>
  
  <pre><code>Options +FollowSymLinks
  RewriteEngine On
  RewriteBase /blog/
  
  ErrorDocument 404 /blog/404.php
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteRule ^(.*)\.html$ post.php/$1.html
  
  RewriteRule ^index$ index.php
  RewriteRule ^archives$ archives.php
  RewriteRule ^about$ about.php
  RewriteRule ^search$ search.php
  
  RewriteRule ^feed$ feed.php
  </code></pre>
  
  <p></p>
  
  <p>At the moment if I go to <code>domain.com/blog/*.html</code>, it is redirecting (in the background) to <code>domain.com/blog/post.php/*</code></p>
  
  <p>I would like to almost copy this but I'm not sure about all this regular expression stuff.</p>
  
  <p>I would like to be able to also go to <code>domain.com/blog/admin/*</code> and for it to redirect (in the background) to <code>domain.com/blog/admin.php?p=*</code></p>
  
  <p>If you guys could help me out, I would really appreciate it!</p>
  
  <p>Thanks</p>