Logout Destination Page

Permalink
Hi Guys,

Current Version 8.5.2

I can only find posts for V5.6 relating to this so forgive me if I've missed something obvious...

All I want to do is set up a logout detination, ie when a member logs out, they go back to the home page of the website. At the moment, when logging out, they are taken back to the login screen with no navigation. Given that most of the members are, how shall we say... advancing in years, I don't want to force them to have to edit the URL in the address bar!

Even if I were able to add a 'Home Page' link to the current Logged Out page (/index.php/login/-/logout), it would be better than nothing!

Any advice gratefully received! TIA

Cheers,

Duncan

ppisoban
 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Unfortunately, there's no option to customize this via the dashboard. However, one thing you could do would be to add a 301 redirect to your .htaccess file, like so:

Redirect 301 /index.php/login/-/logout http://www.yourdomain.com/new-page


I think this option could be a new feature to be added to the core, though.
ppisoban replied on at Permalink Reply
ppisoban
Hiya,

That's an inspired answer! I hadn't thought about using the htaccess file, thank you!

For some reason though, that didn't work, as in no redirection happened, so I'm going to have to do some tinkering but many thanks for the idea!

Cheers,

Duncan
Steevb replied on at Permalink Reply
Steevb
Strange?
When you log out you should automatically be taken back the 'home page'.

There must be something else interfering.

NOTE: Always update to the latset version of C5 (now 8.5.4).
ppisoban replied on at Permalink Reply
ppisoban
Hi Steevb,

If logged in as an admin (with editing and system rights), when I log out, I go back to the home page. However, if I'm logged in as a member (with restricted rights) and log out, I go back to the login screen again at /index.php/login/-/logout.

I've been trying to get a redirection to work with htaccess but so far, no success.

Cheers,

Duncan