Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I try to get a login redirect to a subdomain with this great module.
I tried the beneath code in the Preserve destination field:
global $user;
if ($user->uid == 1) {
// Redirect the Administrator
return 'admin';
} elseif ($user->uid == 2) {
// Redirect the Site Owner to His page
return "$name.isnow.in";
} else {
return 'node';
}
but it doesn't work.
Can someone please help me to get the redirect to a subdomain?
Thanks in advance!
greetings,
Martijn
Comments
Comment #1
Summit CreditAttribution: Summit commentedsorry, I asked this question double, I see now, see: http://drupal.org/node/190065
again sorry.
greetings,
Martijn
Comment #2
ddrozdik CreditAttribution: ddrozdik as a volunteer commentedVersion 5 of the module is not supported anymore.