Membership logoff page

4 posts by 2 authors in: Forums > CMS Builder
Last Post: August 8, 2017   (RSS)

By Dave - August 1, 2017

Hi dlsweb, 

When a member logs out are they logging out of the CMS or clicking a logoff link you've setup like this? 

<a href='?action=logoff'>Logoff</a>

Let me know and I'll try and help. 

Thanks!

Dave Edis - Senior Developer
interactivetools.com

By dlsweb - August 2, 2017

exactly, and I would like for them to be directed to /index.php

Tks

By Dave - August 8, 2017

Hi dlsweb, 

If it's for the CMS, you can't change the logoff url.  You'd need to write a custom plugin.

If it's for Website Membership, you can set the logoff url in the top of the plugin here: 

// After logoff, user gets redirected to the last page they were on (if defined), the url below, or to /
$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '/';

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com