Groups 404 Redirect


Download the free Groups 404 Redirect plugin for WordPress.


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)


  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.


134 Responses to Groups 404 Redirect

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


    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:

    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.

    • 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 #

      answered above.
      Kind Regards

  5. Kari Sharp November 25, 2016 at 5:47 pm #

    Hi — When using the redirect, is there a way to allow Facebook to properly view/scrape the page to provide the ability to share the page? We are only restricting partial access and not the entire page, but when FB scrapes the page, it picks up the redirect and contains the redirect page information as the sharing information. Sample URL:


    • antonio December 10, 2016 at 7:03 pm #

      Hi Kari,
      In this case you could restrict part of the content using the [groups_member] shortcode.
      Kind Regards,
      Antonio B.

  6. Greg July 5, 2017 at 5:26 pm #

    I’m on the latest version of Groups and Groups 404 Redirect and it doesn’t redirect at all, just throws the standard 404.

    • antonio July 13, 2017 at 8:50 am #

      Hi Greg,
      Please check if you have any cache plugin that could be changing the redirections.
      Kind Regards,
      Antonio B.

  7. Jc August 18, 2017 at 6:04 pm #

    If the redirect goes to the login page, can the the user be redirected back to the restricted page after the user logs in?

    This would be the most ideal solution.

    • antonio August 19, 2017 at 8:53 am #

      Hi JC,
      If you use the ‘Redirect to the WordPress login’ option on Groups->Groups 404 redirect, after login you should be redirect to the origin page if you are no using another plugin related to redirections.
      Kind Regards,
      Antonio B.

Leave a Reply