I usually use MVC routing but I have to work on a site with non MVC and need to add a new feature.
Here is my commnads which works:
RewriteRule ^blog/why-am-using-htaccess/$ viewBlog.php?blogHook=$1 [L]
RewriteRule ^blog/(.*) blogs.php [L]
RewriteRule ^(.*)/$ page.php?hookName=$1
My issue is I have to put the [L] flag on everything above for it to work. I want to basically issue a flag to
RewriteRule ^(.*)/$ page.php?hookName=$1
That basically says do everything above but the last one is the fallback.
Is there any way to do that?