Domanda

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/
È stato utile?

Soluzione

The regex is to replace

this /uk/tag/.*

with /uk/

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top