Member Access
No error but redirect not working in WP 3.6 (5 posts)

  1. gerital
    Posted 2 years ago #

    In my case I don't get any errors and plugin redirects accesses to member pages correctly to login. Login URL has REQUEST variable added and looks like http://site.com/wp-login.php?redirect_to=http%3A%2F%2Fsite.com%2Fmembersite%2F. But after successful login it doesn't redirect to named site but goes to front page.

    So actually it doesn't seem to be an error of this plugin and looks more like a WP problem.


  2. feritsaki
    Posted 2 years ago #

    yes i have same issue here. i am trying to make a site that only seen by members. for that i am using the wordpress login panel as login page. and i imported my member list from excel to user table in wp. for that members has no role.

    when a member try to login site like http://www.site.com he is seeing the wp login panel. but after making the correct login he is not directing to main page but wp directing him to admin panel. i want him to direct to page which he wanna see at the begining.

  3. jerome33
    Posted 2 years ago #

    I use this plugin with wp3.7.
    You can redirect the user to the public page editing the file functions.php in your theme.

    add_filter("login_redirect", "gkp_subscriber_login_redirect", 10, 3);
        function gkp_subscriber_login_redirect($redirect_to, $request, $user) {
        if(in_array('administrator', $user->roles)) return site_url('/wp-admin/');
        return home_url();

    Pay attention to the kind of the user you are when you test; admin will allways be redirected to the admin page and regular users will be redirected to the public page.

  4. Shonu
    Posted 2 years ago #

    Same issue. Please re-instate functionality missing since at least 3.5.2. Even my 3.7.1 does not redirect anymore to the originally intended page. I do not want to start adding filters. This is suppose to be done by plugin here.


  5. Shonu
    Posted 2 years ago #

    My site has stopped working for anonymous users hitting homepage!
    I am looking for an other plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Member Access
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic