lucy24 - 3:52 am on Jul 26, 2013 (gmt 0)
#1 rule will still work if somehow the request comes in as
example.com/?blahblah (literal question mark)
#2 rule cuts out a little sooner, with no backtracking, if there doesn't happen to be a query at all
Can be constrained to
since the rule is meant for a narrowly delimited set of pages, all of whose names are composed entirely of lower-case letters. No need for [NC], since a request in the wrong case can only come from deliberately wrong input, and those don't deserve anything but a 404.
[NC] in the "rewrite" part of the rule is only appropriate if the php page code is expanded to include a redirect (not rewrite) to the correctly cased form of the directory name. If the case-neutrality is intended to apply only to the requested page name, it should be expressed as [A-Za-z] without flag. And, again, the php will have to either redirect or issue a 404. (Site owner's choice.) Silently correcting the case is not the best option.