• Resolved tomi1618

    (@tomi1618)


    I’m problem with plugin. When I want to save Snippet, I get a 403 error:

    [403] Forbidden : Dostęp zabroniony
    Zapytanie odrzucone przez serwer. Nie masz dostępu do /wp-admin/admin.php?page=edit-snippet&id=12 na tym serwerze.

    You don’t have permission to access /wp-admin/admin.php?page=edit-snippet&id=12

    Please help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hello,

    Does this error occur every time you try to add or update a snippet? Or only sometimes?

    I have the same problem. When migrate the site from MAMP PRO to live server I’m not able to edit or add any code.

    403 Forbidden
    …wp-admin/admin.php?page=edit-snippet&id=27 (port 443)

    Hey @bungeshea,

    Happens to me too. No security plugin installed. Checked all permissions on directories and wp-admin and everything appears to be fine. Nothing untoward in .htaccess either.

    Please advise!

    Cheers

    • This reply was modified 5 years, 1 month ago by sys0s.

    UPDATE: Just figured out it was modsec causing issues. I disabled it and it worked!

    how did you disable modsec?

    Plugin Author Shea Bunge

    (@bungeshea)

    I tried using Apache2 with mod security2 enabled, and I can confirm it does cause issues when using this plugin. When enabled, Apache will block any requests that include data which containing PHP or HTML tags.

    Essentially, you can use modsecurity and this plugin if you are content to only use snippets which don’t contain either of those two things; otherwise you’ll need to disable the relevant modsecurity rules.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem 403. Save Snippet’ is closed to new replies.