Question

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/
Était-ce utile?

La solution

The regex is to replace

this /uk/tag/.*

with /uk/

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top