Redirect Joomla Users on Their First Login

Learn how to send new Joomla users to a one-time onboarding page after their first successful login, then use normal redirects later.

A first-login redirect is useful when a new Joomla user should see something different from returning users: an onboarding page, profile-completion screen, member introduction, private-area instructions or a welcome dashboard.

Joomla can redirect users after login, but a normal login redirect does not distinguish between a user's first successful login and every later login. When you need a one-time onboarding flow, the redirect must know that this is the first login and then get out of the way on future visits.

Joomla first-login redirect flow from login to onboarding and later normal logins

What a first-login redirect should do

The intended flow is simple:

New user
→ first successful login
→ welcome / onboarding page

Same user later
→ normal login
→ normal dashboard or member area

The important part is that the onboarding destination should run once, not every time the user logs in.

When first-login redirects are useful

Common examples include:

  • sending new members to a welcome page;
  • asking a customer to complete their profile;
  • showing account setup instructions;
  • introducing a private download or support area;
  • showing an onboarding checklist;
  • sending a newly created partner account to partner instructions.

The destination should help the user complete an immediate next step. It should not become another permanent layer between the user and the normal area they expect after login.

Why a normal Joomla login redirect is not enough

For a simple site, Joomla's normal login redirect settings may be enough when every successful login should go to the same destination.

The limitation appears when you need logic such as:

First login → /welcome

Later logins → /member-dashboard

Those are two different events. A fixed login redirect cannot by itself express “only once for this user”.

Create the first-login rule with ES Login Redirect Manager

ES Login Redirect Manager includes a dedicated First Login event for this type of flow.

Open:

Components → ES Login Redirect Manager → Rules

Create a new rule and configure:

Title:
First Login Welcome

Event:
First Login

Destination:
/welcome

Publish the rule and test it with a new Joomla user account.

Add a User Group condition when onboarding is role-specific

If the welcome page should apply only to a particular type of user, add a group condition.

Example:

Title:
New Members Welcome

Event:
First Login

User Group:
Registered

Destination:
/member-welcome

You can build different first-login experiences for different groups when the site structure requires it.

For more complex group-based routing, see How to Redirect Different Joomla User Groups After Login.

Combine first login with normal login rules

A practical setup often contains both a first-login rule and one or more normal After Login rules.

For example:

First Login
Registered → /welcome

After Login
Registered → /member-dashboard

On the user's first successful login, the first-login flow sends them to the onboarding page. On future logins, the normal After Login rule can send the same user to the member dashboard.

Use conditions only when they serve a real purpose

A redirect rule can contain several conditions. In ES Login Redirect Manager, configured conditions inside one rule must all match.

For example:

Event = First Login
AND
User Group = Partner
AND
Language = en-GB

This can be useful when the onboarding page differs by role or language, but avoid building unnecessary complexity. Start with the smallest rule that expresses the required behavior.

Choose a safe onboarding destination

The welcome page should be:

  • published;
  • accessible to the target user group;
  • available in the correct language when language filtering is used;
  • free from a redirect that sends the user back to the login page;
  • clear about what the user should do next.

If the destination itself requires permissions the user does not have, Joomla may send them elsewhere or deny access, making the redirect appear broken even though the rule matched correctly.

Test with a genuinely new user

This is one of the most important testing details.

A First Login rule is intended for the first successful login in the lifetime of the Joomla user account. An existing account that has already logged in is not a reliable test account for this event.

Create a new temporary user, assign the same group as the real users you want to onboard, then perform the login flow from the frontend.

Use the Simulator before the live test

ES Login Redirect Manager includes a built-in Simulator that shows how rules are evaluated and which destination wins.

Use it to verify:

  • the intended rule is published;
  • the user and group conditions match;
  • no more specific rule takes precedence;
  • the final destination is correct.

Then perform one real login with a new test user to verify the complete Joomla authentication flow.

Do not confuse first login with first login from a page

Two different requirements can sound similar:

  • First Login: run once for that Joomla user account.
  • Source URL redirect: redirect based on the page where the user logged in.

If a partner who logs in from /partner-login should always go to the partner area, that is a Source URL rule, not a first-login rule.

If a newly created partner should see onboarding once and then use normal partner routing later, combine the two concepts with separate rules.

Do not make onboarding a dead end

A useful onboarding page should lead naturally into the site.

For example:

Welcome
→ Complete profile
→ Read member instructions
→ Open dashboard

Avoid sending users to a generic marketing page with no obvious next action.

Troubleshooting: the first-login rule did not run

Check the following:

  1. Confirm the rule uses Event → First Login.
  2. Confirm the rule is published.
  3. Test with a new account that has not already logged in.
  4. Check all configured conditions.
  5. Verify the destination is accessible to the test user.
  6. Use the Simulator to inspect rule matching.
  7. Check whether another login workflow or third-party extension changes the destination after authentication.

Troubleshooting: the user keeps seeing onboarding

First confirm that the redirect is actually being generated by a First Login rule and not by a normal After Login rule pointing to the same page.

Also check the Joomla login module, menu item or another redirect plugin for a permanent login redirect to the onboarding URL.

Frequently asked questions

Can I redirect only new Joomla users after login?

Yes. A first-login event can send a user to a one-time onboarding destination while later logins use normal login rules.

Can different groups have different first-login pages?

Yes. Create separate First Login rules with the appropriate User Group condition and destination.

Should I test first-login rules with my administrator account?

No. Use a new test account that matches the target user group. Existing accounts that have already logged in are not suitable first-login tests.

What happens after the first login?

Future logins can be handled by normal After Login rules, such as sending Registered users to a member dashboard.

Summary

A first-login redirect is most useful as a one-time onboarding step. Keep the rule narrow, send the user to a page they can actually access, test with a new account and let normal login routing take over afterward.

For the full rule system, Simulator, conditions and fallback behavior, see the ES Login Redirect Manager documentation.

You can also read How to Redirect Users After Login in Joomla 5 and Joomla 6 for the broader login-redirect workflow.