Magento 2 Custom Redirect Pro
Compatibility
Community: 2.0, 2.1, 2.2, 2.3, 2.4Enterprise: 2.0, 2.1, 2.2, 2.3, 2.4
Redirect customers to custom pages after login, logout, registration & newsletter subscription — with full customer group-wise control. Includes the Group Selector/Switcher extension at no extra cost.
The Problem
Magento 2 sends all customers to the same default pages after login, logout, and registration — regardless of their customer group. There's no built-in way to personalize the post-action experience for wholesale vs. retail customers or redirect newsletter subscribers to a thank-you page.
The Solution
This extension lets you configure group-specific redirect URLs for every key customer action. Retail customers land on your retail store, wholesale users go to their dashboard, and new registrants see a personalized welcome page — all automatically.
Key Features
Feature Highlights
1. Customer Group-Wise Login Redirect
Redirect customers to any custom page based on their customer group after login. Supports relative and absolute URLs. If no group-specific URL is set, the default Magento login redirect (/customer/account) is used.

2. Customer Group-Wise Logout Redirect
Redirect customers to a group-specific page after logout. Optionally remove the default "You have logged out and will be redirected in 5 seconds" intermediate page and send users directly to your configured URL with a custom message.

3. Customer Group-Wise Registration Redirect
Configure group-specific redirect pages after registration (e.g. /thank-you, /terms-and-conditions). Includes group-wise custom success messages for a personalized onboarding experience.


4. Newsletter Subscription Redirect
Redirect users to a custom page after newsletter subscription — perfect for sending subscribers to a coupon page, thank-you page, or special offer landing page.

5. Bundled: Customer Group Selector / Switcher
This extension includes the Customer Group Selector/Switcher Pro extension at no additional cost. Customers can select their group at registration via dropdown or invite code.

6. Dynamic URL Variables
All redirect URLs support both relative and absolute paths, and can contain dynamic variables for advanced routing:
| Variable | Description |
|---|---|
{{referer}} |
Redirect to the previous page (referrer URL) |
{{redirect_to}} |
Redirect to URL from query param ?redirect_to=[url] |
{{user_name}} |
Customer's full name |
{{user_email}} |
Customer's email address |
{{user_id}} |
Customer's ID |
{{user_group_id}} |
Customer's group ID |
Installation
src/ folder to your {magento2-root-dir}/php bin/magento module:enable MagePsycho_RedirectPro MagePsycho_GroupSwitcherPro --clear-static-content
php bin/magento setup:upgrade
Live Demo
v1.0.2
released on 2019-11-12- changed Refactored the code
- changed Fixed the system configuration tab issue
v1.0.1
released on 2019-07-15- changed Refactored the code
- added Tested the compatibility with Magento v2.3.x
v1.0.0
released on 2017-05-29- added Initial Release
Generic
How can I pay for MagePsycho extensions?
If I buy an extension, how would I get it?
After you make a purchase, the order will appear in the "My Orders" section of your personal account page.
As soon as the order status becomes completed the purchased extensions can be downloaded from "My Downloads" section.
How can I get the license key(s) for the purchased extension?
In case if you have't received any license key(s), please Contact Us with the order #.
Are your extensions open source or encrypted?
Do you provide Magento customization service?
Can I get a refund if an extension doesn’t suit me?
After 30 days from the date of purchase, the refund is not applied. You also cannot ask for a refund for the installation service or custom service.
If you are looking for a specific solution for your store, please Contact Us.Can I request a free trial?
But if you buy an extension and it doesn’t suit you in any way, you can request a refund with no risks on your side.
Moreover, most of our extensions have demos, where you can see how our modules work.
What is the license policy? On how many websites can I use MagePsycho extensions?
In the case of additional licenses, we do provide a good discount.









