I could not find documentation that says the order of the flags in RewriteRule matter. I don't think it does, but would like to get confirmation.
Are these two equivalent?
RewriteRule ^/test(.*) https://example.com/sites/test$1 [NC,R,L,NE]
RewriteRule ^/test(.*) https://example.com/sites/test$1 [NC,NE,R,L]
No, the order of flags in a single RewriteRule does not matter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With