• I have a couple of custom roles setup for editors and would like to allow them to get to the Tools > Redirection menu so they can update as they need to. However, I can’t seem to find access rights to that menu or parts of the plugin.

    I have used both Members and User Role Editor, but neither lists the access rights to Redirection. Advice?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had to edit the plugin directly. File “redirection-admin.php” LINE 162. Change [ ‘redirection_role’, ‘administrator’ ] to [ ‘redirection_role’, ‘editor’ ] or whatever role you want. Quite frustrating and I wish there was a way to ask the developer to add a quick filter or action that we can hook into from our themes to control this better. I hate having to modify a plugin directly cause when the next update happens, it gets overwritten.

    Add this to your themes functions.php file. The XXXXX_XXXX part can be whatever role slug you choose. I use user-role-editor-pro and it works with my custom named roles.

    add_filter( ‘redirection_role’, ‘redirection_to_XXXXX_XXXX’ );
    function redirection_to_XXXXX_XXXX() {
    return ‘edit_pages’;
    }

    • This reply was modified 7 years, 10 months ago by Gordon55M. Reason: added .php to functions.php
    • This reply was modified 7 years, 10 months ago by Gordon55M.
    Thread Starter WP Monkey

    (@scdesmond)

    Unfortunately that did not work for me.

    For the User Role Editor plugin, I found instructions that worked and did not involve changing the Redirection plugin directly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t manage access to redirection menu’ is closed to new replies.