Page 1 of 1

Login to redirect to subdomain

PostPosted: December 29th, 2011, 9:51 am
by shalli
Hi There

I am wondering if anyone can help me with this question

Can the s2 member plugin allow a member to be redirected to a sub domain once logged in?

so my main site is shalliralli.com

and the members site is shalliralli.com/member

is this possible

thanks

shalli

Re: Login to redirect to subdomain

PostPosted: December 29th, 2011, 3:21 pm
by Raam Dev
Is this one WordPress installation or two separate WordPress installations?

Re: Login to redirect to subdomain

PostPosted: December 29th, 2011, 3:43 pm
by shalli
Hi Raam Dev

Thanks for your response!!

There are two wordpress installations

thanks

shalli

Re: Login to redirect to subdomain

PostPosted: December 29th, 2011, 4:16 pm
by Raam Dev
Hi Shalli,

Glad to help! :)

If there are two WordPress installations, I don't think it will work for you. When a user logs into one WordPress and then gets transferred to the 2nd WordPress, the 2nd WordPress doesn't know anything about the user having logged in, so as far as the 2nd WordPress is concerned, the user hasn't logged in.

This isn't an s2Member limitation, but rather the way WordPress itself works. Each WordPress installation has its own users and it's own accounts.

Re: Login to redirect to subdomain

PostPosted: December 29th, 2011, 4:45 pm
by shalli
Hi Raam Dev

Thanks for your help

Yeah I didnt think it would work with two installation - i thought may be it would be possible with cookies etc... Is it possible if you are using multi site functionality for wordpress?

thanks

shalli

Re: Login to redirect to subdomain

PostPosted: December 30th, 2011, 3:44 pm
by Raam Dev
Hi shalli,

WordPress multisite networks are not designed to be interconnected. They share a single WordPress installation (which makes upgrades easier), but the feature is designed to create separate blogs, not interconnected ones.

See this paragraph from WordPress.org on Creating a Network:

Do you really need a network?

The sites in a multisite network are separate, very like the separate blogs at WordPress.com. They are not interconnected like things in other kinds of networks (even though plugins can create various kinds of interconnections between the sites). If you plan on creating sites that are strongly interconnected, that share data, or share users, then a multisite network might not be the best solution.