I have seen quite a few answers on how to redirect many URLs so that any .php extensions are removed, but this has been causing some troubles for me with conflicts.
RewriteRule ^quote/([a-zA-Z0-9]+)/$ index.php?id=$1 RewriteRule ^quote/([a-zA-Z0-9]+)$ index.php?id=$1 I already am redirecting /quotes/1 /quotes/2 etc to /index.php?id=1 and /index.php?id=2 etc. But what I really want to do is simply match /random/ and have it point to /random.php and none of the existing answers seem to be that specific.
Thanks.
index.phplike ifisset($_GET['id']){...}? Well, what you really should focus on now is to any popular php framework. This is a very basic thing called Routing and Controllers