Pergunta

I have been using a Wordpress redirection plugin which has the option to use regex to create rules. I have no experience with Regex and have tried my best to read around and use regex builders app to solve this myself

basically I need to redirect

/uk/tag/* (* been wildcard IE anything numbers letters dash etc...) to

/uk/
Foi útil?

Solução

The regex is to replace

this /uk/tag/.*

with /uk/

you can check/test example here . It is a good explanation of the regex

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top