title: How to use htaccess to rewrite to file from an empty directory
body: <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /cdsite/register/
  RewriteRule ^.*$ /cdsite/register/register.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>That is my .htaccess file's contents. What i would like to do, if possible, is redirect to the register.php file from any input following the register directory's designation, including no input (i.e. myawesomesite.com/cdsite/register/ or myawesomesite.com/cdsite/register/randominput)</p>
  
  <p>I have tried doing both no input or a random input, but neither are working. I am testing on MAMP local server and my other htaccess rewrites work fine. MY htaccess file is located in the register directory.</p>
  
  <p>Any help would be appreciated.</p>