Regex url parameters
-
I want to create this type of redirect
^/downloadables/(.*) -> /
but I want to keep url parametersExample of redirects
https://domain.com/downloadables/?utm_source=test -> https://domain.com/?utm_source=test
https://domain.com/downloadables/anything/?utm_source=test -> https://domain.com/?utm_source=test
How can I do that using regex?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.