Page is a not externally linkable
jdMorgan - 8:32 pm on Oct 3, 2009 (gmt 0)
I'd also suggest adding a 'virtual start anchor' to that query string pattern: Jim
RewriteConds apply only to the single RewriteRule that follows. So, if the last two rules need to use the query string value, then they also need to have 'copies' of the RewriteCond ahead of them.
RewriteCond %{QUERY_STRING} &?s=([^&]+)
This assures that the pattern only accepts exactly "s" as the variable name, and not just anything that ends with "s". That is, if any character precedes "s=", then it must be an ampersand.