Support » Networking WordPress » Home page with registeration and login and then directing it to subdomains

Viewing 3 replies - 1 through 3 (of 3 total)
  • That can all be done. Just make a static font page with a login form. There’s PHP code out there, and you can redirect logins anywhere you want: http://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect

    Are you asking someone else to code all this for you?

    Thanks for the response.

    I am trying to do the whole work. Actually I did not use so much coding until this point, but I could progress a lot.

    I checked the link you’ve sent me. However, I think that the most important thing I’m trying to do is missing there.

    The crucial thing here is that the subdomains and that index page(so actually whole content) of my site will only be available for my users. So if someone tries to access directly to a.example.com(example from my first post), I must direct him/her to my login and registeration page, so if he/she wants to access a.example.com, either will login or register. Otherwise will have to leave 🙂 Am I clearer now?

    So if you understood what I’m trying to do, maybe you can tell me what should I do step-by-step.

    Thanks for your attention.

    The crucial thing here is that the subdomains and that index page(so actually whole content) of my site will only be available for my users.

    Two things. First, users are added to the network, NOT sites, when they register, so you’d need to use a plugin like http://wordpress.org/extend/plugins/multisite-user-management/ to auto-add them.

    Second, just grab a standard membership plugin like http://wordpress.org/extend/plugins/members to restrict the site to members only 🙂

    Or just code your theme to check ‘is_user_logged_in()’

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Home page with registeration and login and then directing it to subdomains’ is closed to new replies.