Help with Redirecting Logged-Out Users from Home Page to Login

Hey everyone!

I’m trying to set up a simple workflow that redirects logged-out users from the home page to the login page, but I can’t get it to work. I have a workflow on the home page that runs when the page is loaded, and it should redirect to the login page if the user is logged out. The condition I set is “Current User is logged out,” and the action is “Go to page login.”

For some reason, when I type the home page URL while logged out, it doesn’t redirect me and just loads the home page. I’ve tried checking if the workflow is active, tested in incognito mode, checked my login page URL, and even tried debug mode, but I can’t see where it’s going wrong. I also cleared the cache and tried different browsers, but no luck.

Am I missing something here? Has anyone had this issue or knows how to fix it? Any tips would be awesome! Thanks so much!

1 Like


Mine looks like this and works. Please share your workflow if it’s different and if this doesn’t help you solve it.