Special redirects | Peter's Login Redirect | Forum
Back to the login redirect plugin page
5:30 pm
Would it be possible to have the module process special redirects given in the URI?
We would like to have the plug-in users by role, except for users logged in from a kiosk,
which should redirect them directly.
For now, I have customized the code to redirect if $_SERVER['REMOTE_ADDR'] matches
a given pattern, but would prefer to have an upgrade-proof option ;-)
Thanks for the plug-in!
I welcome any code suggestions on allowing for such custom code without having to hack the core of the plugin. Perhaps it could call hooks, whereby you could write your own separate code before or after any of the groups of rules. I have no immediate plans to implement that, but it would seem to be a useful future feature!