Feature Requests

Got an idea for a new feature or integration? We’d love to hear it! You can find our roadmap here.

1 vote

Clicking on a button or a link, conditional redirecting to a different URLs based on tags

As the subject described, sometimes, I prefer that members should be redirected to different page baed on user tags after clicking on a button or link. I definately believe that you guys know what I mean, so I don't descibe more. Please consider this userful functionality if possibel. Thanks! 🙂

Under Review Category: Logins Addon Jianfeng Zhang shared this idea Updated: March 8, 2025

1 thought on “Clicking on a button or a link, conditional redirecting to a different URLs based on tags”

  1. The best way to do this would be to protect the page itself, and set a redirect if access is denied: https://wpfusion.com/documentation/getting-started/access-control/

    This way, when they try to access the page, the access is checked, and they are redirected if they don’t have the correct tags. You can create more advanced access rules using the wpf_redirect_url filter: https://wpfusion.com/documentation/filters/wpf_redirect_url/

    If you mean checking the access based on the button click itself… not the target page, this is a lot harder. We would need to do something like “Please wait while we check your access” in a popup and then they would have to wait while the browser connects to the server, evaluates the destination link, checks their tags, and then does the redirect. So it’s essentially the same result but less convenient for the user and more likely to conflict with your theme or other plugins.

    Maybe if you can tell us more about the kinds of conditions / redirects you want to do, we can come up with some sort of workaround?

Leave a Comment

Your email address will not be published. Required fields are marked *