Groups 404 Redirect

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 redirection can also be applied for restricted categories, tags and other taxonomy terms if Groups Restrict Categories is used.

The redirect status code can be selected among:

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

Screenshots

  • Groups 404 Redirect settings.

FAQ

What do the status codes mean?

Read the section on Status Code Definitions in RFC 2616.

I have a question, where do I ask?

You can leave a comment at the Groups 404 Redirect plugin page.

Changelog

1.3.1

  • Fixed a warning for setups using Groups < 2.x.

1.3.0

  • Moved the settings to the Groups menu.
  • Tested with WordPress 4.7.3.
  • Added the option to indicate the requested URL in a custom URL parameter when redirecting.

1.2.5

  • Groups 2.x legacy mode compatible.
  • Tested with WordPress 4.7.2

1.2.4

  • Tested with WordPress 4.4.
  • Updated link to Groups Restrict Categories.

1.2.3

  • Added a fix to circumvent a bug in some PHP versions related to the usage of method_exists() with an inexistent class.

1.2.2

  • Added check for post restricted by term.

1.2.1

  • WordPress 3.9.1 compatibility checked.

1.2.0

  • Added support for taxonomy term redirection with Groups Restrict Categories.

1.1.3

  • Fixed a redirect loop when redirecting visitors to the WordPress login.
  • WordPress 3.8 compatibility checked.

1.1.2

  • Added the groups_404_redirect_post_id filter to allow fine-tuning redirection by post ID.

1.1.1

  • Improved the wording on the settings page.
  • Added a link to RFC 2616’s Status Code Definitions in the settings.
  • WordPress 3.6 compatibility tested

1.1.0

  • Improvement : Added support for Custom Post Types.
  • Improvement : Avoiding circular redirection (for example when the target post is also protected).

1.0.1

  • Added link to Settings on Plugins screen.

1.0.0

  • Initial release.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code