Groups 404 Redirect

Download

Download the free Groups 404 Redirect plugin for WordPress.

Description

This plugin redirects 404’s caused by hits on pages that are protected by Groups.

The redirection settings can be adjusted in Settings > Groups 404 :

Visits to protected pages can be redirected to:

  • a specific post, or
  • the WordPress login

The redirect status code can be selected among:

  • Moved Permanently (301)
  • Found (302)
  • See other (303)
  • Temporary Redirect (307)

Installation

  1. Upload or extract the groups-404-redirect folder to your site’s /wp-content/plugins/ directory. You can also use the Add new option found in the Plugins menu in WordPress.
  2. Enable the plugin from the Plugins menu in WordPress.
  3. Go to Settings > Groups 404 and adjust the redirection settings as desired.

References

128 Responses to Groups 404 Redirect

  1. Jani Ollikainen March 31, 2016 at 11:01 am #

    Hi,

    I have a patch for groups 404 redirect module which I would like to get into the plugin? How should I proceed?

    You can look the patch at: http://pastebin.com/BHPpv2Bc

    It adds support to give original url as parameter to the post or page which we are redirecting, so that post or page can do something and link back to the page which made the redirect to happen.

  2. Tyrone May 23, 2016 at 10:38 am #

    Is it possible to enable hidden posts (belonging to another group witch the current user doesn’t have) to show up in search results but then direct the user when they click on the link to it?

    I want to be able to show a list of Premium posts but redirect the user to the sign up page when they click on it to read it.

    • antonio May 24, 2016 at 5:34 am #

      Hi Tyrone,
      sorry, the search filters the restricted posts/pages. You could use the [groups_member] and [groups__non_member] shortcode, and not restrict the full post/page.
      Kind Regards,
      Antonio B.

  3. Marie October 23, 2016 at 10:50 pm #

    Hello, all the pages I restricted are not visible (only visible for the administrator) on the menu or page’s links which means the plugin does not work with me. Could you please help me.
    Thanks

    • antonio October 26, 2016 at 6:51 am #

      Hi Marie,
      The menu links are displayed only to the correct users. If you need to display always, you can use the ‘Custom Link’ menu item type, so if the ‘correct’ user visists this item, he will see the post/page, and if the ‘incorrect’ user visits this link, then he will be redirect to the Groups 404 redirect page selected.
      Kind Regards,
      Antonio B.

  4. MariCh October 24, 2016 at 3:03 pm #

    Hello, I am using groups, woommerce groups, subscription in order to create a membership website. The 404 redirect plugin does not seem to work. I created a restriction page. The restricted pages links desapear when I am logged out of the group created. I would like theme to appear and when I click on it. It redirects me on the restriction page. How can I resolve the problem?
    Thank you for your help.

    • antonio October 26, 2016 at 6:56 am #

      Hi,
      answered above.
      Kind Regards

Leave a Reply