• Resolved wp-Magnus

    (@wp-magnus)


    When “Admin area access” is set to “Amin, Editors” and users reset their password the message “Access Denied. Your site administrator has blocked your access to the WordPress back-office.” is shown at first login. Is there a way in your plugin to allow a custom redirectpage? Right now i am using a hack in your code in the “block_admmin_access()” function, instead of wp_die() I use wp_redirect() but i loose this hack with every upgrade of the plugin. Can I use a hook to do the same thing?

    https://www.ads-software.com/extend/plugins/wp-user-frontend/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tareq Hasan

    (@tareq1988)

    May be you should use some redirection plugin and redirect them to the homepage when they login.

    Thread Starter wp-Magnus

    (@wp-magnus)

    Ok, consider it a feature request. On the tab “Others” in the settings for the plugin you can select access to admin area by role. There should also be a setting for a redirect page, just like it is for the “Edit page” option. So when a user tries to access a restricted page they are redirected to a page of admins choice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin area access – no access’ is closed to new replies.