Arrow

Redirect on Logout | 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
Redirect on Logout
June 25, 2013
11:54 am
SamirJ
New Member
Forum Posts: 2
Offline

First off thanks for the great plugin, all seems to be working flawlessly, but for the life of me, I can't find an option to redirect the user upon logout.

I use 3 custom user roles, each of them goes to their own page once logged in (this works perfectly), then they can surf the entire site and when they wish to sign out, or when they get signed out (due to inactivity), I do not want them to go to the default WP login and instead go to a customized login page.

But only these groups and noone else. How would I go about doing this ? Surely there is a way, but I can not seem to find it.

Using: WP 3.5.1 / Latest version of your plugin.

June 25, 2013
6:02 pm
Peter
Admin
Forum Posts: 841
Offline

I haven't yet added the same options for logouts as currently exists for logins. However, you could write your own logic in PHP in an extension to the plugin or in your theme's functions.php file by using the "rul_before_fallback_logout" hook as described here:

http://wordpress.org/plugins/p.....her_notes/

June 26, 2013
8:05 am
SamirJ
New Member
Forum Posts: 2
Offline

Classic case of rtfm.
Thank you so very much for the quick response.

July 4, 2013
2:23 pm
Peter
Admin
Forum Posts: 841
Offline

In version 2.7.0 I've now added the ability to customize the logout URLs according to the same criteria as the login URLs.