Groups 404 Redirect not redirecting to restricted page after login

Posted in

I’m using Groups 404 Redirect to redirect users to restricted pages after login.

Typically it works like this:

1. User clicks a link to a restricted page.
2. User is redirected to login page.
3. After logging in, user is redirected to restricted page with read access.

It no longer work since the last couple weeks. Users are taken to login page after clicking the restricted page URL, but once logging in, the user is redirected to the WooCommerce account dashboard.

Groups 404 Redirect settings:

Any solution?

One Response to Groups 404 Redirect not redirecting to restricted page after login

  1. George December 27, 2018 at 1:03 pm #


    Thanks for mentioning that issue.
    I have tried the same case in my test installation with the following plugins:
    Groups 2.5.0
    Groups 404 Redirect 1.4.0
    WooCommerce 3.5.2 and 3.5.3
    using a restricted post. When the user, who had access to this post, logged in he was redirected to the post automatically.

    Please check your plugins in case you are using another redirect plugin that might interfere with the normal flow. Also, if you like we can have a look at your site settings as long as you provide us with temp admin access. You can send the credentials to george[at]itthinx[dot]com and it would also be useful to enable WP debugging.

    To enable debugging, edit your wp-config.php file and do the following:
    Replace this line: 

    define( ‘WP_DEBUG’, false );

    with these lines:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    Kind regards,

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