Shifting from no-www to www and browsers' password storage
Posted
by
user1444680
on Pro Webmasters
See other posts from Pro Webmasters
or by user1444680
Published on 2013-06-30T08:42:38Z
Indexed on
2013/06/30
10:28 UTC
Read the original article
Hit count: 402
I created a website having user-registration system and invited my friend to join it. I gave him the link of no-www version: http://mydomain.com but now after reading this and this, I want to shift to www.mydomain.com.
But there's a problem. I saw that my browser is storing separate passwords for mydomain.com and www.mydomain.com. So in my friend's browser his password must have been stored for no-www. That means after I shift to www and next time he opens the login page, his browser wouldn't auto-fill the username and password fields and there will also be an extra entry (of no-www) in his browser's database of stored passwords.
Can this be avoided? Can I do something that will convey to browsers that www.mydomain.com and mydomain.com are the same website? I already have a CNAME record for www pointing to mydomain.com but it seems that search engines consider CNAME as alias but browsers consider them as different websites, I don't know why.
© Pro Webmasters or respective owner