PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Login to redirect to subdomain

s2Member Plugin. A Membership plugin for WordPress®.

Login to redirect to subdomain

Postby shalli » December 29th, 2011, 9:51 am

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
User avatar
shalli
Registered User
Registered User
 
Posts: 3
Joined: December 29, 2011

Re: Login to redirect to subdomain

Postby Raam Dev » December 29th, 2011, 3:21 pm

Is this one WordPress installation or two separate WordPress installations?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Login to redirect to subdomain

Postby shalli » December 29th, 2011, 3:43 pm

Hi Raam Dev

Thanks for your response!!

There are two wordpress installations

thanks

shalli
User avatar
shalli
Registered User
Registered User
 
Posts: 3
Joined: December 29, 2011

Re: Login to redirect to subdomain

Postby Raam Dev » December 29th, 2011, 4:16 pm

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.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Login to redirect to subdomain

Postby shalli » December 29th, 2011, 4:45 pm

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
User avatar
shalli
Registered User
Registered User
 
Posts: 3
Joined: December 29, 2011

Re: Login to redirect to subdomain

Postby Raam Dev » December 30th, 2011, 3:44 pm

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.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron