Ready to get started?Download WordPress


Groups 404 Redirect
Reirects (4 posts)

5 stars
  1. Cordiner
    Posted 1 year ago #

    Hi itthinx

    What would be really good would be to be able to redirect specific requests to specific pages or posts.
    e.g. I am setting up a membership site using woocommerce and woogroups with several membership levels and if a potential customer clicks on a link to a restricted page I would like to be able to redirect them to the relevant subscription product.

    Will this be possible ?

  2. itthinx
    Plugin Author

    Posted 1 year ago #

    That seems like a great idea. The basics are already there with the plugin here but to achieve what you are describing, it lacks a way to map between restricted pages and redirect targets for these.

  3. Cordiner
    Posted 1 year ago #

    Any chance you can develop it ?
    What would the time scale be ?
    I'm just starting to learn PHP, so would think it will be a while before I can manage to customize it by hard coding.

  4. itthinx
    Plugin Author

    Posted 11 months ago #

    I've added a filter which you can use: groups_404_redirect_post_id

    It takes the $post_id as its first parameter and expects the desired one returned, the second parameter is the current post's ID and the third one the current URL.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic