Redirect to subscription page

Hi all!

I want to create a paid forum by automatically redirecting all users without group membership to the subscription page.

Does anyone know how I can do this? The forum is on a hosted plan.

Greetings, Jeroen

I would try to use the Custom Homepage for Groups theme component. You can set the subscription page as the default homepage and configure a different homepage, like the latest, for the subscribers group.

5 Likes

Thanks!

I had a look and it looks great. But for now I would like something more simple. Is there something like a global webhook where we can say that a user that is not a member of any group always redirects to the subscription page? So not only as their homepage. The only thing that this user can see is the subscription page.

Regards, Jeroen

Maybe the implementation discussed in this feature topic would work for your use case as well:

You could also try creating a theme component that redirects different routes to the subscription page for users who are not in specific groups. Redirect an existing route in a theme component