I am trying to redirect all PHP requests in one directory (not sub-directories) to my index.php file which is in the same directory. Up to now I was redirecting anything that didn't have a file extension but now I want to add all .php requests to this rewrite. I was using the following:
RewriteRule ^([^\.\/]+)$ index.php [L]
How do I alter it to rewrite .php requests as well?