How to redirect student to another domain after logout?

After the student logout, student will be redirected to home page. But i want to develop a marketing site, in which, the student after log out will be redirected to another domain, in which they will be offered some services.

How to set this?

I just solved it, i put
Location /logout{
Return 301;

Does it logs out your user ? Or just simply redirects them to other site ? Just curious.

It log out the user first then redirect to the new site

1 Like