Reply To: Programatically choosing Login Welcome and Membership Options pages.

Forums General Programatically choosing Login Welcome and Membership Options pages. Reply To: Programatically choosing Login Welcome and Membership Options pages.

#515
Scott P
Participant

Cristián,

That helps immensely! Many thanks! I will test it.

if ( !empty($_REQUEST['_s2member_vars'] && ( ICL_LANGUAGE_CODE=='fr' ) ) ) {
   header('Location: http://mysite.org/'.strtolower(ICL_LANGUAGE_NAME_EN).'-member-options-page/?lang='.ICL_LANGUAGE_CODE);
   exit;
}

In my OP I also was interested in the Login Welcome page redirection. What signals that?

Cheers,
Scott