How do I add an action to the log out button to take me back to the home page?

Hi all,

I want to redirect my users to the home page when they log out. I can’t see a button that specifically deals with this. Please let me know if you know how to achieve this.

Thank you!

You have to create a workflow

Something like this if you want to create such a button:

or if you want to redirect all log-outs to the homepage use when user is logged out event

Thanks Aniv!

My problem is that I’m using the default header that comes with Bubble when you create a fresh project. This one:


When you drag this into your project, you see the login register buttons. When you log in, they change to a logout button. But I’m not sure where to find that button to create the action.


Hi there, @guystern… click this button to edit the reusable element.

Then, add the go to page action here, and you should be good to go.

Hope this helps.