• Resolved sixfiveadvisors

    (@sixfiveadvisors)


    Goal is to have a visitor redirected from the homepage (mysite.com) to page on a subdomain if a cookie is present on mysite.com.

    I am currently using:

    Source URL: ^https?:\/\/(?:[^\/]+\.)?mysite\.com(?:\/(?:\?.*)?)?$
    Match: URL and Cookie
    Cookie Value (using regex) is: .*
    When Matched: Redirect to URL 307
    Unmatched Target: -blank-
    Matched Target: https://staging.mysite.com/select

    Results when testing with Redirection:
    HTTP 301 moved permanently – This and all future requests should be directed to the given URI
    URL is not being redirected with Redirection
    Target: https://www.fansmack.com/

    I am unable to find a solution on the support site or in this forum.

    Do you see anything that is causing this not to work as expected?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cookie from main domain to subdomain’ is closed to new replies.