Support » Plugins and Hacks » Member Access » No error but redirect not working in WP 3.6

No error but redirect not working in WP 3.6

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    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.

    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.


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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No error but redirect not working in WP 3.6’ is closed to new replies.
Skip to toolbar