• Resolved Jeroenla

    (@jeroenla)


    Which type of users can use this plugin? I’d like to get someone to help out, but I am not comfortable with giving them admin rights….

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author John Godley

    (@johnny5)

    By default it is for administrators, but you can modify that as explained here:

    https://redirection.me/support/faq/

    Thread Starter Jeroenla

    (@jeroenla)

    Thanks for the answer. However, could you please clarify a little more? What is the name of the file I need to upload? And is it correct that this goes in the /plugins… and not in the plugins/redirection?

    ——————–
    How do I give access to non-administrators?

    You can use the redirection_role filter to create your own plugin that is specific to your setup. You will need to create a file in your wp-content/plugins directory with the following code:

    <?php
    /*
    Plugin Name: Allow Redirection Access
    Description: Allow access to Redirection
    Version: 0.1
    */

    add_filter( ‘redirection_role’, function( $role ) {
    return ‘editor’;
    } );

    This would allow editors to have access to Redirection. You can use any role or capability (although really you shouldn’t make it available for anonymous users!).

    Plugin Author John Godley

    (@johnny5)

    It can be any name, and goes in /plugins

    Thread Starter Jeroenla

    (@jeroenla)

    It does not seem to work. I added the code in notepad and saved it as a ridiculousname.php, then uploaded it to wp-content/plugins. I’ve set the right as contributor.

    However, they don’t see the plugins. How do I get this to work for the lowest possible rights-level?

    Plugin Author John Godley

    (@johnny5)

    Did you activate the plugin?

    Thread Starter Jeroenla

    (@jeroenla)

    I have been using the plugin as admin for a while, yeah. When I log in as the contributor, this is what I get:

    Website-verificatieservices (?)
    You can verify your site using the “Site verification” tool in Jetpack Settings.

    Making an account doesn’t seem to be possible though. I also don’t see why such an account would be required, tbh…

    Thread Starter Jeroenla

    (@jeroenla)

    nvm this one

    • This reply was modified 6 years, 2 months ago by Jeroenla.
    Plugin Author John Godley

    (@johnny5)

    Did you activate the plugin you just created?

    Create an account for what? Website verification? I’m not sure what you are looking at.

    If you activate the plugin you just created it will allow anyone with ‘editor’ permissions to use Redirection. You can change that to any permission you want.

    Thread Starter Jeroenla

    (@jeroenla)

    oooh…
    I wasn’t aware I just made a plugin just by putting a php file in the folder.

    I am not sure how to do that, it does not appear as a plugin.
    (Thankyou for your patience)

    Thread Starter Jeroenla

    (@jeroenla)

    The website verification is associated with JetPack, i think. But that one has made me confused many times before as well.

    I have activated Allow Redirection Access, with “contributor” as the role. Are you saying I should activate it with editor first, and change it after activating?

    Thread Starter Jeroenla

    (@jeroenla)

    OK, I got it to work on either admin, or the editor role (dunno why contributor failed). However, the person hired for the url fixing is reporting a 403 error.

    Any idea why? I am not using Cloudflare, nor have a caching plugin active at the moment.

    Thread Starter Jeroenla

    (@jeroenla)

    Thread Starter Jeroenla

    (@jeroenla)

    I have no clue what that the Rest-API thing is, nor do I understand the “magic button” at the plugin status (they were both on).
    No Cloudflare, caching is off

    Plugin Author John Godley

    (@johnny5)

    The screenshots are too small to really see what is going on, so I can’t comment there. A 403 error where?

    Thread Starter Jeroenla

    (@jeroenla)

    When they go to the tab with 404’s.

    I cannot reproduce the error, on my side it works well (using the same account).

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Who can use this?’ is closed to new replies.