mutisite cookie

Events happening in the community are now at Drupal community events on www.drupal.org.
jnrfred's picture

How to redirect a user to a visited sub-domain on his next visit to main domain

I have a website say example.com with 5 sub-domains: site1.example.com, site2.example.com, site3.example.com, site4.example.com, and site5.example.com.

When users visit example.com, they are presented with the other 5 sub-domains to choose from. I want to implement something that redirect the users to the sub-domain they choose the first time they visit the main domain. I know I can use cookies for this, but how can I implement this in Drupal?

Read more
Subscribe with RSS Syndicate content