Overview
The Global Redirect by User Details feature allows store owners to create targeted post-checkout experiences based on customer roles and specific user accounts. This powerful functionality enables you to:
- Create different thank you pages for different user roles (wholesale, retail, VIP)
- Provide personalized experiences for specific customers
- Customize the post-purchase journey based on customer type or status
- Create unique paths for different user segments in your store
How to Set Up User Details-Based Redirects
1. Accessing the User Details Settings
- Navigate to WooCommerce > WRAC Redirect
- Go to the Global Redirects tab
- Click on the User Details option in the left sidebar menu
2. Enabling User Details Redirects
- Find the “Enable or Disable” toggle
- Turn it On to activate user details-based redirects
- This enables the “Turn On to create redirect based on selected user details Role || IDs” feature
3. Configuring User Role Redirects

You can redirect customers based on their WordPress user role:
- Click on the “Select User Role” dropdown
- Choose a specific user role (e.g., “Customer,” “Administrator,” “Shop Manager,” “Wholesale Customer”)
- This sets the user role to be used in the redirect logic
4. Configuring Specific User Redirects
You can also redirect specific users based on their account IDs:
Method A: Manual ID Entry
- In the “Add User IDs” field:
- Enter comma-separated user IDs (e.g., “12,45,67”)
- To find user IDs:
- Go to Users in WordPress
- Hover over a user and check the URL for “user=XX” (the number is the ID)

Method B: Visual User Selector
- Click the Select Users By Ids button
- A popup will appear showing your registered users
- Check the boxes for users you want to include
- Click “Done” to confirm your selection
5. Setting the Redirect Destination
Choose where users will be redirected based on the role or ID conditions:
Internal Page Redirect
- From the “Select Redirect Page” dropdown:
- Choose an existing page (e.g., “/wholesale-thank-you”, “/vip-customer-portal”)
- This page will display for users matching your selected role or IDs
External URL Redirect
- In the “Use External URL” field:
- Enter a full URL (e.g., “https://wholesale.example.com/thanks“)
- Use external URL to redirect customers after successful purchase
6. Failed Order Handling
Configure where customers go if payment fails:
- “Failed Order Redirect Page” – Select an internal page from the dropdown
- “Failed Order External URL” – Enter an external URL for failed orders
7. Save Your Configuration
- Click the Save Settings button at the bottom of the page
- Your user details redirect rules are now active
How It Works
When a customer completes checkout:
- The plugin checks if their user role matches the one you specified
- If using user IDs, it checks if the customer’s ID is in your list
- If there’s a match (either role or ID), they are redirected to your custom thank you page or external URL
- If there’s no match, they follow the standard checkout completion flow
- If the order fails, they are directed to your specified failed order page
Practical Examples
- Wholesale Customer Experience
- User Role: “Wholesale_Customer” (or your custom wholesale role)
- Redirect to: “/wholesale-thank-you” with reordering options and account manager details
- VIP Customer Treatment
- Specific User IDs: IDs of your VIP customers
- Redirect to: A page with exclusive offers, early access to new products, or premium support options
- B2B vs. B2C Separation
- User Role: “Business_Customer” for B2B
- Redirect to: Different pages with appropriate invoicing information and business resources
Advanced Use Cases
Membership Site Integration
For membership sites:
- Redirect different membership levels to tier-specific resources
- Provide level-appropriate downloads or next steps
Customer Onboarding
For new customers:
- Create a special role for first-time buyers
- Redirect to an onboarding page with account setup guidance and next steps
Geo-Targeted Experiences
Combined with geo-location plugins:
- Create roles based on customer location
- Redirect to region-specific thank you pages with local information
Troubleshooting
- If redirects aren’t working, ensure the toggle is set to “On”
- Verify that you’ve selected the correct user role from the dropdown
- Check that user IDs are entered correctly and belong to active accounts
- Ensure your selected redirect page exists and is published
- For external URLs, confirm they include “https://” prefix
- Remember that guests (users who checkout without creating an account) won’t have a user role or ID
Best Practices
- Create clear, role-specific content on your redirect pages
- Consider the customer journey for each user type
- For wholesale or B2B customers, include reordering information and account manager contacts
- For VIP customers, highlight exclusive benefits and premium support options
- Test each user role flow while logged in as different user types
- Remember to update your redirect pages when changing product offerings or policies

Leave A Comment?
You must be logged in to post a comment.