superbig / craft3-logoutredirect
This package is abandoned and no longer maintained.
No replacement package was suggested.
Configure where to send users after they logout.
Package info
github.com/sjelfull/craft3-logoutredirect
Type:craft-plugin
pkg:composer/superbig/craft3-logoutredirect
2.0.1
2019-01-20 17:06 UTC
Requires
- craftcms/cms: ^3.0.0-beta.23
This package is auto-updated.
Last update: 2025-10-27 13:46:32 UTC
README
Configure where to send users after they logout.
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require superbig/craft3-logoutredirect -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Logout Redirect.
-
Create a configuration file named
logout-redirect.phpin the Craft config directory, usuallyconfig.
Configuring Logout Redirect
<?php return [ // Enable the redirect check 'enabled' => true, // To redirect all users after logout - this will override the two other config options 'redirectUrl' => '/goodbye', // To redirect CP users after logout 'redirectCpUrl' => '/cp-goodbye', // To redirect site users after logout 'redirectSiteUrl' => '/goodbye', ];
Brought to you by Superbig