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.


145 Responses to Groups 404 Redirect

  1. Mike B. March 6, 2021 at 1:18 pm #

    Hi – I’m using the following plugins: bbPress, Groups, Groups bbPress, and Groups 404 Redirect.

    We’ve set our Groups 404 settings to “Redirect to WordPress login”. This works fine when a visitor tries to access a page protected by Groups, except if that page is a bbPress page. Any suggestions for how to make sure that bbPress pages are also redirected?

    Here is a bbPress page (Topic) that goes to our standard 404 instead of redirecting to WP Login:

    Image of my settings:

    • Kento March 10, 2021 at 6:14 pm #

      Hi Mike,

      I’ve done a test with all the latest versions. For me, a bbPress topic protected by Groups produces a redirect to the WordPress login, when the option is set via Groups 404 Redirect.

      I guess it must be something specific to your setup, can’t see any issues here. Maybe you have some other plugin that might be hooked on the ‘wp’ action (just an idea)?


  2. Alberto September 3, 2019 at 10:31 am #

    How can I redirect to a different page based on the page being accessed?

    Now every non logged in user who tries to access a protected page is redirected to the same page. I’d like them to be redirected to a page which can tell them what’s happening.

    • Kento September 3, 2019 at 12:03 pm #

      Hi Alberto,

      Sounds useful but isn’t supported at current. The plugin allows you to specify a single page to which the visitor is redirected and that will be common to all 404s. I’ll keep it in mind for a possible future enhancement though, it surely makes sense in some cases.


      • Alberto September 3, 2019 at 2:38 pm #

        Thanks for the quick reply. If I wanted to do it myself or outsource it, would it require much work?

        • Kento September 5, 2019 at 3:37 pm #

          Hi Alberto, it wouldn’t require much work I guess – if you want to have a look at the plugin’s repository it’s at – feel free to fork and send us a PR if you would like to contribute that addition.

  3. Will April 23, 2019 at 8:21 pm #

    Hi is this plugin still maintained? I’m getting a conflict between it and the woocommerce checkout. When 404 is activated the checkout just spins continuously and never allows them to checkout.

    • Kento April 23, 2019 at 8:54 pm #

      Hi Will,

      Yes of course it’s maintained. What you describe sounds like either a conflict or a configuration error. I would advise to enable debugging and check the debug.log for errors. Also disable any non-essential plugins that might interfere.


  4. Udit Khanna December 14, 2018 at 7:00 am #

    Thanks for the information.
    404 page not found is such a big issue for every website it will harm the user experience.
    here is the solution you can use 301 redirection on 404 page it will redirect your page to yor willing page.

  5. 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.

  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. 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.

  8. 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

  9. 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.

  10. 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.

  11. 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.

Leave a Reply

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account