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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...