My issue put simply…
this works:
RewriteRule ^foo http://google.com
but this does not:
RewriteRule ^routing/? routing.php [L]
there is no directory or file name with the name routing. Please see this question for details:
.htaccess url routing subdirectory
Since asking that question my understanding of the .htaccess system has grown significantly. I now undertand it, and from what i see everything looks fine. Changing that one line will redirect to google when foo is used and just render a 404 error is routing is used. Also I am sure routing.php is there and working.
Any suggestions to why this is not working?
You know what, I bet it’s because you have
Multiviewsturned on. Try:at the very top of your htaccess file.