Jump to content

Question

Posted

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

  • 0
Posted

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/");
  • 0
Posted

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.

  • 0
Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...