.htaccess - htaccess 301 Redirect urls with language variables to new static page -


i'm trying dynamically move around 500 urls this:

/tag/nachtisch?lang=de  /tag/desertas?lang=lt 

to new url

i tried following:

redirectmatch 301 /tag/[a-za-z]\?lang\=[a-z]{2} /new-static-page-url 

but isn't working.

can tell me i'm doing wrong?


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -