EID Special Deals

40%OFF

Simplify Admin

APPLY COUPON & SEE THE PRICE DROP

00

Days

00

Hours

00

Min

00

Sec

Use Code:
EIDGIFT
Claim 40% off
    WP Adminify

    WP Adminify


    How To Redirect Users After Login and Logout in WordPress?

    With WP Adminify, you can redirect your users after they login or logout. Here’s how to do it.

    Step 1: Access Redirect URLs Settings

    First, go to the following path: WP Adminify > Security. Now, find the setting labeled as “Redirect URLs” and enable it.

    Enable Redirect URLs feature

    Step 2: How to Redirect Users After Login in WordPress

    In the “Roles Redirect” tab, you will find the option called “Redirect Rules Type”. Here, select the “Login Redirect” tab.

    Roles redirection option

    Now, click the “Add New Login Redirect” button. A new box field will appear with multiple settings.

    Add new login redirection

    You can select your users from the “User Types”. 

    • User Role
    • User Name
    • User Capability

    For each option you get a field to select Role / User / Capability.

    User role based redirection in WordPress

    Then, add your redirection URL in the “Redirect URL” text box.

    Note: You can add multiple redirection settings by clicking the “Add New Login Redirect” button.

    After you’re done with the settings, click “Save Settings” to apply changes.

    Step 3: How to Redirect Users After Logout in WordPress

    The logout redirection is exactly the same as the login redirection. But, to help you we are going to tell you each step.

    In the “Roles Redirect” tab, you will find the option called “Redirect Rules Type”. Here, select the “Logout Redirect” tab.

    Set logout redirection

    Now, click the “Add New Logout Redirect” button. A new box field will appear with multiple settings.

    Add new Logout redirection condition

    You can select your users from the “User Types”. 

    • User Role
    • User Name
    • User Capability

    For each option you get a field to select Role / User / Capability.

    Then, add your redirection URL in the “Redirect URL” text box.

    redirect user based on user role while log out

    Note: You can add multiple redirection settings by clicking the “Add New Logout Redirect” button.

    After you’re done with the settings, click “Save Settings” to apply changes.

    Didn’t find what you were looking for? Get in touch!

    Updated on September 27, 2024

    Was this helpful to you?

    Coupons