Title: Specific redirect
Last modified: April 17, 2021

---

# Specific redirect

 *  Resolved [hadeerm](https://wordpress.org/support/users/hadeerm/)
 * (@hadeerm)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/specific-redirect/)
 * I want to redirect the user after login to a specific URL depends on user role,
   I tried snippet in this code in my function.php : [https://www.wpwhitesecurity.com/support/kb/redirect-users-custom-url-after-2fa-wizard/](https://www.wpwhitesecurity.com/support/kb/redirect-users-custom-url-after-2fa-wizard/)
 * but it didn’t work at all not from specific users or all users.
    P.S specific
   profile page option is enable , if it helps

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/specific-redirect/#post-14350772)
 * Hello [@hadeerm](https://wordpress.org/support/users/hadeerm/)
 * To redirect users to a specific page after logging in then you need to use a 
   different plugin. Our plugin’s role is purely for authentication.
 * There are quite a few plugins available for that and [WP 2FA](https://www.wpwhitesecurity.com/wordpress-plugins/wp-2fa/)
   is compatible with all of them. You can read more about post login redirects 
   in [how to redirect users after successful login](https://www.wpbeginner.com/plugins/how-to-redirect-users-after-successful-login-in-wordpress/).
 * I hope that helps. Please let me know should you require further information.
 *  Thread Starter [hadeerm](https://wordpress.org/support/users/hadeerm/)
 * (@hadeerm)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/specific-redirect/#post-14358042)
 * Hello,
 * Thank you so much for your detailed response and help. Here is the case, I have
   a bilingual website with several users type, each set of users roles can view
   the website in one language only will the other set can view only in the other
   language , and none of both group can view each others language/content. Now 
   all users type have 2fa set for them. Before 2FA the specific set was successfully
   redirect to the desired language using peace of code and plugin , now after activation
   all the users after entering the 2FA redirect to the website main language and
   I just want them to be redirected to the language version I set for them , Hope
   its all clear now. Thanks
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/specific-redirect/#post-14366126)
 * Thanks for the update [@hadeerm](https://wordpress.org/support/users/hadeerm/)
 * What plugin are you using to redirect users to the correct language site?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Specific redirect’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/specific-redirect/#post-14366126)
 * Status: resolved