Вопрос

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/
Это было полезно?

Решение

The regex is to replace

this /uk/tag/.*

with /uk/

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top