Unable to edit posts or use plugin dashboard in WordPress when a 3rd-party editor is used: access forbidden by rule

Follow

Comments

11 comments

  • Avatar
    Ben Hayes

    I'm still experiencing this issue despite following the "Resolution" step by adding the 2 lines to the additional nginx directive. I've applied this to the domain in question that is using Wordpress and the OneSignal Plugin and am still getting: A bad HTTP response code (403) was received when fetching the script.
    /wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php?appId=[myAppIdWouldBeHereButImHidingIt] Failed to load resource: net::ERR_INVALID_RESPONSE

  • Avatar
    Nikolay Zhmuk (Edited )

    @Ben Hayes Click on "Check Security" button for the WP instance in Plesk and check if "Security of the wp-content folder" check-box is enabled or not. Disable it and check if the issue is gone or not. If the issue is still there then the cause is different than described in the article.

    Also, check this article https://github.com/OneSignal/OneSignal-WordPress-Plugin/issues/65

  • Avatar
    info

    I have the same problem, but I don't use nginx. What is the solution for apache?

  • Avatar
    Ivan Postnikov

    Hello @info, try this article.

  • Avatar
    info

    @Ivan Postnikov I think you made a mistake, because that's totally unrelated.

  • Avatar
    Ivan Postnikov

    @Info, in case you have correct ownership for Plugin files, the further investigation is required to find the root cause.

    Consider creating a support request.

  • Avatar
    Atthawut Prathumrat

    Hello, just did following this article but the issue is still there. But if I reverted the Security of the wp-content folder as Nikolay Zhmuk said above, the problem is gone! I saw the "200 GET /wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php?appId=xxxxxxxxxx HTTP/1.0" occur from source Apache SSL/TLS access. So, is it nginx or apache problem?

  • Avatar
    Alexander Tsmokalyuk

    @Atthawut the problem is neither nginx, nor Apache's. This is the problem (bug) of Wordpress Toolkit extension and it is currently being worked on.

  • Avatar
    Lenor

    Hi, today we invest more than 5 hours and NOTHING happened, everytime we got a 403 from Templates JS/ CSS minify SCript. 

    Template was destroid whole time. 

    ONLY SOLUTION was to disconnect Wordpress from Toolkit. After that, it ran again. 

    Strangly before we just activated NGINX Cache over Toolkit and from that state on, nothing worked anymore. 

    Somehow he must had restrict rights to wp-content/themes/css/script.php 

  • Avatar
    Lenor

    Also Staging Site is not working... its loading the default template and not wordpress. really unessesary 

  • Avatar
    Bato Tsydenov

    @Lenor

    I would recommend you to submit a request to Plesk Support
    Please check this article for more information:
    How to submit a request to Plesk support?

Please sign in to leave a comment.

Have more questions? Submit a request