I increased it to trace5, and it did reveal more useful info. [Sun Apr 28 21:55:36.542349 2024] ... RewriteCond: input='/resources/blog' pattern='!/resources/blog' => not-matched It looks like after this it just moved on to the next rewriterule, not the next rewritecond as part of this block, of sorts. I was assuming it was more of an AND statement, like "if URI is NOT /resources/blog AND query string contains start=..., then apply the following rewrite rule, but that's apparently not how it works. I only want the rewrite rule above to apply to URLs that don't involve our blog. And because the first RewriteCond isn't matched, it doesn't check the second RewriteCond, and therefore treats the RewriteRule as a standalone and not part of the previous RewriteRule, so then just redirects to the root, apparently still with the start= query string attached. How do I write the logic such that it applies to every URL EXCEPT
those I specify? |