• Resolved Nick Papazetis

    (@papazetis)


    I want to create this type of redirect
    ^/downloadables/(.*) -> / but I want to keep url parameters

    Example 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?

    • This topic was modified 1 year, 8 months ago by Nick Papazetis. Reason: typo
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Regex url parameters’ is closed to new replies.