• {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}

    /wp-json/redirection/v1/redirect

    Hosting Support answer: So the redirect is coming from the plugin: Redirection. I have been working alongside my senior on this and they have concluded that you might need to reach out to the plugin dev since /wp-json/redirection/v1/ works when we test it, it seems to be something with the API.
    https://redirection.me/developer/rest-api/ . We possibly might need to whitelist an IP from the plugin dev to get it working

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

    (@johnny5)

    The plugin does not use any external resources and so does not need any IP whitelisting.

    The message is from WordPress, and is likely caused by a security plugin or something else blocking access to your REST API.

    Thread Starter Mukesh Rajput

    (@mukesh3306)

    okay, Thanks. But I tried to deactivate all plugins and its still same.

    Plugin Author John Godley

    (@johnny5)

    Then something may be cached. Basically the message is from something else on your site and Redirection has no control over it.

    You can find more details here: https://redirection.me/support/problems/rest-api/

    Thread Starter Mukesh Rajput

    (@mukesh3306)

    I’ve tested all URLs and they are correct, I also tried placing a proxy pass – location rule to bypass any possibility of present Nginx Auth but that didn’t fix the issue as well.

    I’ve tested plugins, themes and wp-config.php and no blocks are present on the server.

    Is there anything else you can help me.

    Plugin Author John Godley

    (@johnny5)

    Tested what URLs? How are they correct?

    The message is from WordPress, not Nginx, so changing Nginx won’t do anything.

    Did you clear any caches? Have you tried disabling plugins and then clearing caches to see if the problem still exists?

    Thread Starter Mukesh Rajput

    (@mukesh3306)

    Yes, I’ve tried to disabled plugins, themes, and also exclude this url from cache path: ^/wp-json/redirection/? . But issue is still.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need to whitelist an IP from the plugin dev to get it working’ is closed to new replies.