Support » Plugin: User Access Manager » [Plugin: User Access Manager] Redirect user not working

Viewing 8 replies - 1 through 8 (of 8 total)
  • I agree, however I had it working a couple days ago, redirecting to a custom registration page (gravity form) and when I upgraded to wp 3.3.1 it stopped. But, I had a few other serious conflicts with another plugin which I’ve resolved.

    I will try to revert to 3.3 or 3.2.1 and see if that solves it. I really liked it when it did work.

    Thanks also if the developer could comment on this.

    For the last few days I have had constant redirect errors on my clients site – the whole site is down because of this.
    All I get is an error ‘The page isn’t redirecting properly’ etc etc. However the site can be accessed if I am logged in. It is only when I log out that it has the issues. I have had to trawl through the code to see if I could detect where the problem lies – there are a few threads that exist:
    see here
    But I was unable to get things working using the methods explained. The issue appears to be a conditional statement in UserAccessManager.class.php – although this may just be in my case. I have commented out this part

    if (!$postToShow) {
                $uamOptions = $this->getAdminOptions();
    
                if ($uamOptions['redirect'] == 'blog') {
                    $url = home_url('/');
                } elseif ($uamOptions['redirect'] == 'custom_page') {
                    $post = get_post($uamOptions['redirect_custom_page']);
                    $url = $post->guid;
                } elseif ($uamOptions['redirect'] == 'custom_url') {
                    $url = $uamOptions['redirect_custom_url'];
                }
    
               // if ($url != $this->getCurrentUrl()) {
                    wp_redirect($url);
                   // exit;
               // }      
    
            }
        }

    The if ($url != $this->getCurrentUrl()) seemed to throw the whole thing into confusion. Once I commented this out I was able to access the site again without being logged in but the home page redirect no longer works and I get a 404 error ‘page doesn’t exist’.

    This is driving me crazy and my client is none too pleased. Does anyone have any clues as to what can be done. Perhaps I should email the developer directly?

    I’m also having this problem. Any news from the developer?

    I’m also having this problem but the plug-in shows me only the “page content” message.

    Same here… updates anyone?

    knijia

    (@knijia)

    Same problem with a specific wordpress page redirection

    The guys code at the bottom of this post still worked for me: http://wordpress.org/support/topic/plugin-user-access-manager-problem-with-redirects?replies=13

    I don’t remember if I had to change my structure or not to what he mentions.
    It WILL work by itself with no modifications if you go back to default permalinks.
    permalink

    Redirect does not work. When a user tries to view a page without permission, he gets the WP 404 message, instead of being properly redirected based on the settings in UAM.

    Bummer, time to find a different plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: User Access Manager] Redirect user not working’ is closed to new replies.