Skip to content

sjelfull/logoutredirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logout Redirect plugin for Craft CMS

Configure where to send users after they logout.

Screenshot

Installation

To install Logout Redirect, follow these steps:

  1. Download & unzip the file and place the logoutredirect directory into your craft/plugins directory
  2. Install plugin in the Craft Control Panel under Settings > Plugins
  3. The plugin folder should be named logoutredirect for Craft to see it.

Logout Redirect works on Craft 2.4.x and Craft 2.5.x.

Configuring Logout Redirect

<?php
// To redirect all users after logout - this will override the two other config options
'redirectAfterLogout' => '/goodbye',

// To redirect CP users after logout
'redirectAfterCpLogout'   => '/cp-goodbye',

// To redirect site users after logout
'redirectAfterSiteLogout' => '/goodbye',

Brought to you by Superbig

About

Configure where to send users after they logout.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages