This is the most common type of redirect since it’s used by many WooCommerce sites to redirect different users, like customers, authors, store admins, and more. Redirecting users by user roles is just as simple. You just need to click on the User ID checkbox and input the user ID instead of the username. Now, when the user “Steve” logs in to our site, he will be redirected to the URL we have put in the Redirect URL field.Īs you can tell, you can set this redirect up using the user ID as well. Finally, we need to put in the Redirect URL and click on the Add Entry button to create this redirect. Now, as we are redirecting this user on login, we will choose “After Login” as the Redirect Type. So, for example, if you want to redirect a user on your site with the username “Steve,” we will input Steve in the Username field. However, for setting up user-specific redirects, you’ll need to use the section right at the top. You will land on a page where you’ll be able to create all the types of redirects we listed above. Hover your mouse on the Profile Builder menu and click on the Custom Redirects option under it. Let me help you with the exact steps you need to follow below. If you want to redirect certain individual users after they log in to your site, you can set up a redirect specifically for them by using their username or user ID. So let’s dive deeper into these different login redirect setups.
0 Comments
Leave a Reply. |