Feature Requests

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

5 votes

Redirect User based on Tags

If a User has or does have a Tag and clicks a menu item, then redirect them to x page. Currently WPFusion only shows/hides menu items based on Tags.

Declined Category: Core Feature Enhancements Zach Kinsey shared this idea Updated: December 4, 2020

5 thoughts on “Redirect User based on Tags”

    1. Unfortunately that isn’t always a viable solution. For example, if the page requires that the user be logged in first and only at that point check for the tag, otherwise the user will be redirected to a sales page.

      So if the user is redirected from another site, they’re always going to end up at a sales page unless you can redirect them properly from the origin site

      1. Hey Chris,

        On the sales site you could set a “default not logged in redirect”: https://wpfusion.com/documentation/getting-started/general-settings/#default-not-logged-in-redirect

        And then enable the Return After Login feature: https://wpfusion.com/documentation/getting-started/general-settings/#return-after-login

        This will redirect them to the login page when they first visit the site, and after they sign in they will be taken back to the originally requested content (as long as they have the correct tags) ✅

    1. Hey Andrew,

      You might be able to find a developer via https://codeable.io/ who can do this, and we have some more information at https://wpfusion.com/documentation/advanced-developer-tutorials/how-to-submit-a-job-on-codeable-for-custom-development/

      However, most developers are going to tell you that this is a bad idea, because doing a redirect via JavaScript means you need to wait for the whole page to load, the JavaScript file to load, and then the redirect to run. This means the user will see a flash of content before they are redirected. It’s just generally not a great idea.

      WP Fusion has many PHP filters that allow you to do redirects based on tags. A good place to start is https://wpfusion.com/documentation/filters/wpf_redirect_url/

Leave a Comment

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