nelnehal
Expert
Gunning for gold!
Member Likes (0)
when i login from my main site, the login redirect works but only redirects to mymainsite.com/wp-admin/supporter.php, rather then then there own site. Is there a way the when the user logins in from mymainssite.com the user can get redirected to theuserssite/wp-admin/supporter.php.

Responses (3)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi nelnehal,
I don't believe Login Redirect would itself be able to redirect in that particular way as it provides only for a static url that you specify.
Although I didn't do thorough testing on the following, it worked perfectly well in my initial tests using various users on a test multisite. Just pop it in your theme's functions.php file and it should take care of your login redirect from there.
Let me know if you have any questions on it!
Cheers,
David
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hiya nelnehal, we haven't heard back from you on this but I believe you'll find that snippet would work perfectly for redirecting members to the Supporter page. Let me know if you have any further questions on it! :)
Member (joined November 2010) Likes (0)
hi david, thanks alot for that. It does work well, and it also does give me more ideas :)
Become a member