Why do i have to log in twice in backend to log in?

半城伤御伤魂 提交于 2019-12-01 14:02:11

The login problem was related to my domain configuration and the interaction with Joomla.

I updated the .htaccess file like:

RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

In this way, my users always get redirected to: www.domain.com Even coming to domain.com

This give them direct access, but is also beter for other plugin's and modules that use web-cloud services, depending on the www.domain.com (they will not work on domain.com) Examples: Social Login with Google/Facebook/Twitter; Map API's and other API's

I hope this will help some users! It helped me :-)

Goran B. Aasen

I had the same problem and for me the way to fix this was as follows:

I had set the "live" domain to be www.mydomainname.com (in configuration.php in root)

When then trying to login to the backend using the domain name mydomainname.com (without the www) I had to login twice.

The answer for me was to simply ensure that I always did login using http://www.mydomainname.com/administrator.....

If you however have specified your live domain to be without the www, then you need to use the admin login url without the www accordingly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!