Hi all,
I have a modx site
http://mysite.com (without www) protected with htaccess and with friendly URLs.
I have to htaccess-log in twice in order to get into the manager because of a intermediate redirection to
http://www.mysite.com/manager (with www).
So the steps are :
1. Go to
http://mysite.com/manager => first htaccess-log in just to see the manager login form
2. Enter the modx login and password for an editor => second htaccess-log in : if I click Cancel instead of giving the htaccess-credentials for the second time, I get an Access denied from www.mysite.com.
I’ve scanned my database dump, clear the cache (delete core/cache completely), scanned all modx files, but I can’t find anywhere a "www" prefix that could cause that redirection.
Moreover, I’ve created some users with a redirection after login (with event onManagerLogin), and for those, I don’t need to htaccess-log in twice.
I see that my hosting have some DNS configuration with www.mysite.com, and I’ve asked them if they could remove all www, but if it’s not possible, I would like to do it in modx.
Thanks for your help.