1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Login page

Discussion in 'XenForo Questions and Support' started by Ganesh, Jun 23, 2014.

  1. Ganesh

    Ganesh New Member

    I have a closed forum where users should be logged-in to view forums and members. Is there any way I can configure the index page as http://myforum.com/login.

    If I type the url as http://myforum.com/, I get the following error since the view permission is set to No for unregistered users and by default the site goes to forum list.

    Instead, I would like to go to the http://myforum.com/login page, if I just type the site url.

    I changed the index page route from "forums/" to "login/" but it did not work. Can this be achieved through ACP or should I use any apache settings for the redirect. Thanks!

  2. Liam W

    Liam W Well-Known Member

    If you were to use a htaccess redirect, there would be no way of knowing if the person was logged in or not, so I don't think that would work, and I can't think of another method without an addon.
  3. Ganesh

    Ganesh New Member

    Thanks for the response Liam. If I am logged-in and go to the http://myforum.com/login url, it actually takes me to the forum list. So I think, that could work.

    Please try going to http://xenforo.com/community/login, when you are logged-in and again when you are logged-out.

    I am looking up how to do the .htaccess rewrite. Will let you know how that goes.
  4. Liam W

    Liam W Well-Known Member

    The issue is, if you redirect the plain site root to the login page, and someone is logged in, they'll get a redirect loop...


Share This Page