Webflow doesn't natively support dynamic redirect URLs per member upon login, but you can implement this using Webflow's Memberships feature in combination with custom code and potentially third-party tools like Memberstack or Firebase Auth.
1. Understand Webflow's Default Behavior
- Webflow Memberships currently redirects users to the site root (/) after login by default.
- You can change the global Post-login Redirect URL in Project Settings > Memberships to a static URL (same for all users).
- There’s no built-in dynamic redirect per user.
2. Use Custom Code to Redirect After Login
To achieve user-specific redirects, you'd need to use JavaScript and user data stored in custom attributes, CMS, or session storage:
- Add custom user attributes within Webflow Members Area (e.g., a CMS Collection or hidden fields in user profile pages).
- On login success, use custom JavaScript to:
- Identify the current user.
- Retrieve a mapped redirect URL (from CMS or local storage).
- Redirect the user using
window.location.href
.
If Webflow’s native tools are too limited:
- Tools like Memberstack or Outseta allow:
- Custom attributes per user (e.g., a unique dashboard URL).
- JavaScript event listeners for login (
onLogin()
). - Programmatic redirect based on user metadata.
This gives you more flexibility to configure user-based routing, such as sending /users/john-doe
to one and /users/jane-smith
to another.
4. Workaround: CMS + Query Strings
As a fallback approach, you could:
- Store the redirect info in a CMS collection tied to each user (via a slug or unique ID).
- After login, redirect to a generic page (e.g.,
/redirect
), and use JavaScript to: - Read a query string like
?user_id=123
. - Fetch the CMS data via Webflow's CMS API or front-end bindings.
- Redirect accordingly.
This isn't secure for sensitive data but works for basic segmentation.
Summary
Webflow alone doesn't support dynamic per-user redirection on login, but you can implement it with custom code, CMS lookups, or third-party tools like Memberstack. These methods allow redirecting each member to a unique page after login.