Hello,
Thanks for writing to us. RegistrationMagic workflow is designed to allow for redirection to one of the pre-defined pages as of now.
Unfortunately dynamic role based custom URL redirection is not possible. However, in one of our next upcoming versions, we will have feature for role based re-direction to pages from the same site.
For redirecting to custom URLs outside the site (based on user role), we have analyzed and added the feature to our road-map list. Note that the features implementation is driven by user demand and on first come first basis, so we cannot give timeline at this point. We will mention the feature in the change log on our plugin page at ww.wp.xz.cn, once its available.
I don’t want to go outside of the site. I want to be able to define a custom URL; that doesn’t mean outside of the site. Right now you’re loading all of the pages created by WordPress. Your pulldown choice consists of “Dashboard, Home, Current Page, (a list of all wordpress pages)” so any page not created in the CMS can’t be chosen.
Essentially I either need to rewrite where your plugin defines the redirection on login page in the code (that’s what I was asking for – where do you define the redirect so a custom url can be inputted and yeah I know that means it would go away when I updated) so I can use another plugin to redirect based on role – or if by upcoming you mean this week – the role based redirection is exactly the function that is needed.
Thanks
Yes, our current workflow allows redirection to one of the pages within the WordPress CMS defined pages. Even with upcoming change in next couple of weeks, while role based redirection will become feasible, but due to inherent nature of core library files from WordPress that RegistrationMagic implements, passing control to pages of the site outside CMS won’t be possible.
If you are interested in customizing the code for manual redirection, you may like to know that RM uses WordPress filter to redirect after login. Here is the documentation link : https://codex.ww.wp.xz.cn/Plugin_API/Filter_Reference/login_redirect
The corresponding code can be found here:
File: ‘includes/class_registration_magic.php’
Method: after_login_redirect
Do let us know if you have any other questions regarding this.