Membership logoff page

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

By dlsweb - July 31, 2017

Even though I have set in websiteMembership.php
$GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL'] = '/index.php';
when a member logs out they go to
/festival/admin.php

Is there somewhere else I need to check?
(fyi, just rebooted computer before checking this)

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