Arrow

Special redirects | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Special redirects
October 26, 2010
5:30 pm
belg4mit
Guest

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!

November 2, 2010
9:23 pm
Peter
Admin
Forum Posts: 841
Offline

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!