Release Support > Release Discussion
RoundCube webmail: redirect on logout
itmonitor:
Hi!
I need to configure redirection on logout for RoundCube. Mine is installed in WHM. I found out this code here https://codevote.blogspot.de/2013/07/roundcube-mail-how-to-redirect-to-url.html to add to RoundCube's index.php, but redirection to mydomain.com will not work. Is this code ok or perhaps there is a tweak that will do the redirection on logout trick?
Any advice is welcome :-)
Rgs
IM
SKaero:
Use the plugin https://plugins.roundcube.net/packages/marneu/logout_redirect
itmonitor:
Thanks! Please, how do I install the plugin?
SKaero:
https://github.com/roundcube/roundcubemail/wiki/Plugin-API#installing-and-activating-plugins
itmonitor:
Many thanks.
I need help making it work. Here are the steps I took:
1. Uploaded the plugin, it is now at /plugins/logout_redirect_master
2. Added the following settings to config.inc.php:
--- Code: ---// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$config['plugins'] = array('cpanellogin','cpanellogout','logout_redirect_master');
/* %d will be replaced with the default user identity email domain part
* i.e. email@domain.com will replace %d with "domain.com"
**/
$config['logout_redirect_url'] = 'https://www.mydomain.com/';
--- End code ---
However, the redirection to https://www.mydomain.com is not working onlogout. It will redirected to the same cpanel login page. Should I delete 'cpanellogout' from the enabled plugin list above?
Navigation
[0] Message Index
[#] Next page
Go to full version