tileyukcj Posted March 10, 2015 Report Posted March 10, 2015 Hi, Just a quick question... i want to change the logout url to my main site. blesta is in a subdomain and want to link to a html page in the main folder. Can this be done? Cheers, Chris. Quote
0 Michael Posted March 11, 2015 Report Posted March 11, 2015 I want to redirect them after logout. Iv found the client_logout file but im not sure were exactly to put my new url. I can see it redirects to /login. If i changr that it throws me an error. Thanks Change it to: // Redirect to client login $this->redirect("http://domain.com/"); Quote
0 Tyson Posted March 11, 2015 Report Posted March 11, 2015 Are you wanting to redirect a client after they logout from Blesta, or before? If before, you can setup a 301 or 307 redirect via .htaccess. If after, then you would need to update the appropriate controller in Blesta (e.g. /app/controllers/client_logout.php) to change the current redirect. Michael 1 Quote
0 tileyukcj Posted March 11, 2015 Author Report Posted March 11, 2015 I want to redirect them after logout. Iv found the client_logout file but im not sure were exactly to put my new url. I can see it redirects to /login. If i changr that it throws me an error. Thanks Quote
0 tileyukcj Posted March 11, 2015 Author Report Posted March 11, 2015 Cheers il try that later Michael 1 Quote
Question
tileyukcj
Hi,
Just a quick question... i want to change the logout url to my main site. blesta is in a subdomain and want to link to a html page in the main folder. Can this be done?
Cheers,
Chris.
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.