views:

48

answers:

1

What's the best way to handle this? When a user logs in a domain.com, they are logged out on www.domain.com and vice-versa.

Should one always be rewritten to the other with mod_rewrite? What is the best practice here?

A: 

I have a few domains that all point to the same website, and I bounce people with a HTTP Status 301 (Permanent Redirect) to my preferred domain.

Rob