admin-ajax.php requests are blocked with an "302" error ('302 Moved Temporarily'


I have the following plugins installed on my WP multisite installation.

Multisite privacy
New Blog Templates
Log In Message
Google Analytics +
WPMU DEV Dashboard
Multisite Content Copier

Some plugins that I try to use gets blocked by admin-ajax.php requests are blocked with an “302” error (‘302 Moved Temporarily’). This can be caused by the template or a plugin which is trying to block non-admin role users for requesting the wp-admin/ directory.

I have tried to disable plugins and fins out which one is causing the problem but without success. Could someone tell me if any of the plugins listed above could cause this problem?


  • Hiifons
    • Site Builder, Child of Zeus


    I have a must-use plugin that for redirections that looks like this

    // redirect users to their primary blog
    function change_login_redirect($redirect_to, $request_redirect_to, $user)
    if ($user->ID != 0) {
    $user_info = get_userdata($user->ID);
    if ($user_info->primary_blog) {
    $primary_url = get_blogaddress_by_id($user_info->primary_blog);
    if ($primary_url) {
    //redirect to primary blog
    return $redirect_to;
    // add filter with low priority (100), filter takes (3) parameters
    add_filter('login_redirect','change_login_redirect', 100, 3);

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.