Viewing 1 replies (of 1 total)
  • CEMBTW

    (@cembtw)

    The part to be replaced, /worksop, is also found in your destination URL, thus the infinite redirect (you can see the redirection step-by-step here: https://redirectcheck.com/index.php)

    If the /worksop to be redirected is always at the end of the URL, as in your example, you could use an end-of-line token to only match that string at the terminus of a URL: \/worksop$.

    Try it out here: https://regex101.com/ and also think whether there would be any unintended effect on other pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot get wildcard (*) redirects working’ is closed to new replies.