0

I want to use the current [OR] but also add: [L,R=301,NC] for a permanent redirect.

So is that [OR, L,R=301,NC]?

MrWhite
  • 12,647
  • 4
  • 29
  • 41
Clay Nichols
  • 1,431
  • 6
  • 25
  • 30
  • Just to clarify, what you asking about are _flags_, not _parameters_. The whole _flags_ argument is _one parameter_ to the `RewriteCond` directive (regardless of how many _flags_ you are including). – MrWhite Mar 14 '18 at 11:38

1 Answers1

1

The docs for RewriteCond say that the flags are a comma-separated list.

But only OR and NC are flags for RewriteCond. R and L are flags for RewriteRule, so you wouldn't put them together with OR and NC.

Andrew Schulman
  • 8,811
  • 21
  • 32
  • 47