rewrite based on cookie

Discussion in 'Server Operation' started by gl0bule, Nov 20, 2014.

  1. gl0bule

    gl0bule New Member


    I want to redirect page from this mydomain to anotherdomain but based on cookie language.

    if cookie lang=fr redirect to anotherdomain/mondomaine/?lang=fr

    if cookie lang=en redirect to anotherdomain/mydomain/?lang=en

    if cookie lang=es redirect to anotherdomain/miarea/?lang=es

    How can do this?
  2. srijan

    srijan New Member HowtoForge Supporter

Share This Page