XF 1.3 Login page

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!


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.

Liam W

Well-known 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.
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...