If I password protect a directory in cpanel I am prompted twice to login to that webpage, once for www.domain.com and then again for domain.com without the the www.
If I instead come into the website using domain.com and leave off the www then I am only prompted to login once.
What I want is to tell my host how to fix this so that if I come in from www.domain.com or domain.com that it only prompts me to login once. I had this same problem at my last host and they fixed it on their end but never told me what they did to fix it.
I have a few password protected directories and none of them have any code in them that use www.domain.com or domain.com, they only use /relative links, so I assume the issue is not on my end. Many users leave off the www when going to the sites and some leave it on, which is confusing for them when they have to login twice sometimes and only once other times.
Any help would be appreciated,
Dennis
If I instead come into the website using domain.com and leave off the www then I am only prompted to login once.
What I want is to tell my host how to fix this so that if I come in from www.domain.com or domain.com that it only prompts me to login once. I had this same problem at my last host and they fixed it on their end but never told me what they did to fix it.
I have a few password protected directories and none of them have any code in them that use www.domain.com or domain.com, they only use /relative links, so I assume the issue is not on my end. Many users leave off the www when going to the sites and some leave it on, which is confusing for them when they have to login twice sometimes and only once other times.
Any help would be appreciated,
Dennis