回帖总数:
31
业力:
155
注册日期:
2014/9/15
位置:
United States
so, I've got a nopCommerce site at www.mydomain.com (using that as an example) However, when I strip off the www part, and just go to mydomain.com, I automatically get redirected to mydomain.com/login?ReturnUrl=%2f Any idea what is happening here? Feels like a configuration issue, but, I don't know what. Thanks!
回帖总数:
2128
业力:
19233
注册日期:
2009/11/6
位置:
Malaysia
Chances are www version are not pointing to the same instance as non-www version. Need a check to find out the real reason though, it all depends on how your site is setup. :)
回帖总数:
31
业力:
155
注册日期:
2014/9/15
位置:
United States
Thanks for the reply. There is only 1 IIS site and only 1 nopCommerce store in this instance. What should I look at? I feel like I'm just missing a checkbox or a configuration option somewhere in nopCommerce.
回帖总数:
31
业力:
155
注册日期:
2014/9/15
位置:
United States
Ok, so I just realized something. If I use a browser where I am not logged in (I've gotten used to admin'ing the site). I'm always redirected to the login page. So, nopCommerce is somehow requiring an account just to browse the site. Is this a nopCommerce setting? or a Forms authentication setting in the web.config? Thanks!
回帖总数:
31
业力:
155
注册日期:
2014/9/15
位置:
United States
ok, to add even a bit more confusion to this. Authentication is only required on "/" and "/admin". An anon user can browse the rest of the site (for example the products, without logging in). But, a login is required to browse the home page.
回帖总数:
31
业力:
155
注册日期:
2014/9/15
位置:
United States
I just cannot find a setting that would require an account to view the home page. Any ideas? Thanks!
回帖总数:
31
业力:
155
注册日期:
2014/9/15
位置:
United States
if anyone else runs into this, here is the problem. I had a custom plugin, and the controller was decorated [AdminAuthorize]. Once that was removed, it fixed the problem. Took longer to realize it was the plug-in, than to fix it.
回帖总数:
2128
业力:
19233
注册日期:
2009/11/6
位置:
Malaysia
Okay, haha. If it's a custom plugin, then only you can spot the problem. :D