• Hi,

    I’ve been struggeling with geting a redex redirect to work i was wondering if kind soul could help me?

    I want to redirect any URL containing ‘logout’ anywhere is the url to a different domain, say google.com.

    currently i have:
    source: logout(.*)
    regex is ticked
    target: google.com

    But if i type mydomain.com/logout i get redirected to mydomain.com/google.com. Is there some way to redirect all URLs containing ‘logout’ to google.com?

    Thanks in advance for any help.

Viewing 1 replies (of 1 total)
  • Did you figure this out? If not you need to put the wildcard in front of the source. Example:

    source: (.*)/logout/

    I tested this and it works perfectly as long as logout is written as /logout/ or however you need it, /logout. So if you type: mydomain.com/logout/ it will redirect. If you type mydomain.com/whatever/logout/ it will redirect.

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘trouble with regex’ is closed to new replies.