Skip to main content

Setting a logout redirection page

I'm updating my nation's signup page template. When a user clicks the logout link, I would like to redirect them back to the signup page so they can register as a supporter. Currently, they're redirected back to the homepage.

Can I change the page a user is redirected to when they log out? And can I change this value on a per-page basis? At the very least, I'd like to redirect them back to the same page on which they logged out.

Thanks!

Official response from

Updated: You can specify what page a person lands on when a he logs out of the site. This can be done using a URL in the form example.com/logout?page_id=### where ### is the page ID, or using the liquid variable {{ request.current_signup.logout_url }} which generates a URL in that format.

Share this post

Showing 15 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.