Getting login page to show up without putting in full url

I’ve created a WP site in a sub folder, loaded S2 framework. Do have PRO installed on another site.

But on this site, doing things a bit differently and in testing mode at the moment.

The WP settings are NOT set to a static page which means when you enter the url including the sub folder name
you are redirected to whatever WP sends you which is the index.php for that folder.

I’ve looked at the index.php file and all it does is load the theme and blog header…

I want all members to be redirected to the login page right away when using the url ie: https://sitename.com/members/

Do I just modify the index.php? If so, can you share what I should put in there that will do that?

If there is another solution, I would be grateful to know it. :slight_smile:
Thank you

By default at home page WP shows you “blog roll”, a list with your blog posts. What you see at home page?

That needs lot of questions… Means, members must see https://sitename.com/members/ page after login? Or logged members to see that page when they come to the site for second time (and still are logged in)? Is your site (this new site) stay in “members” directory? Members are members to which site: the main one, or the subdirectory one?

When using the url https://sitename.com/members/ I want people, member or not member, to be taken to the wp-login.php page, no where else.

Is there a redirect or code that can be entered in the index.php of the members folder that will do that?

In this case create .httpaccess redirect, and no page needs at all.

I am looking to do the same thing but it is not redirecting. I have set it up under s2member(pro) - General Options - Login Welcome Page - On the dropdwon I picked the page (Members) which is the page I want the members to redirect after they login and it keeps bringing them to the registration page.

Then I tried the option underneath:
Yes, always redirect non administrative users to non-SSL version…
That didn’t work either am I setting this up in the wrong place, thank you for all your help :slight_smile:

Your “Login Welcome Page” must not be “Membership options page” as well. You didn’t set same page in both “positions”, right?

Also, check the password. May be mistyped.

No I have an options (login/register) page and after that a members page that I want the members to go to after they login :slight_smile:

Strange… Should be “redirect-to” (or similar) hidden field in your login form, please check.

Hi Krumch, where do I find the hidden field in my login form please, thank you.

In the HTML code of the login form. If you can not, show me your login page, I will check.