• I’ve tried to restrict some pages and configure UAM so that the users would be redirected to a specific page. On the front-page though, the user is still shown the default blocked page and no redirection is happening.

    Am I missing something here?

    Also, I was under the impression the plugin would create a customised login page because of the following description item:
    “Optional login form (if no access)”

    Is this correct? If so, how can I enable that login form?

    Thank again.

    https://www.ads-software.com/plugins/user-access-manager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have the same problem. it correctly hide the page from the main menu when i m not logged in, but if I type the direct link i can still see the contents, and I am not redirected to the loginpage.
    where am I wrong?
    is someone able to find a solution?
    thanks!

    Hello, I have the same problem. Help plz…

    I have same problem, redirection is not working.
    please help ??

    thanks for a great plugin
    /Kongedam

    Found a solution

    https://outofcontrol.ca/blog/comments/fix-for-user-access-manager-for-wordpress

    Open /wp-content/plugins/user-access-manager/class/UserAccessManager.class.php.

    Search for ‘public function redirect’ and replace this code:
    $oObject = get_page_by_title($oPageParams->query_vars[‘pagename’]);

    with this code:

    $oObject = get_page_by_path($oPageParams->query_vars[‘pagename’]);

    Bob

    (@bobschecter)

    Oddly, I didn’t realize this was an issue until I saw this support post.

    I went into the settings, set a custom url, and that didn’t work. So I went back in and set it to the page I wanted the redirection, and now the redirection is working fine.

    Such a cool plugin – I hope he doesn’t abandon it.

    For me also setting “Redirect user” to “Custom page” … did not work.

    Thanks @kongedam. Your approach finally worked for me.

    Thanks for this. I’ve been needing a solution for this for ages and only just found this thread.

    Thank you so much.

    Not working anymore…. can anybody fix it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Redirection to login page not working?’ is closed to new replies.