close

Slick­Stack

January 2025 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

405 Not Allowed when trying to update widgets

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8107
    Marie
    Guest

    Hey folks, I’m doing a WP infrastructure migration and when I’m trying to update the widgets on this new infrastructure (using SlickStack). I’m getting a 405 error. Any suggestions?

    #8109
    Bruce
    Guest

    Have you cleared all caches (run ss purge in shell) and try disabling some of your plugins too esp. if you have any page builder or bloated plugins

    #8110
    Emily
    Guest

    You can also reinstall SlickStack again and/or reset permissions (ss perms)

    #8117
    Christina
    Guest

    https://github.com/WordPress/gutenberg/issues/38307

    a lot of Gutenberg users saw that error in Nginx servers. is this related?

    #8118
    Terry
    Guest

    @heyfets said

    I solved this problem by adding the index.php to rewrite:

    location ~ ^/wp-json/ {
                rewrite ^/wp-json/(.*?)$ /index.php?rest_route=/$1 last;
            }
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: 405 Not Allowed when trying to update widgets

Thanks to our generous sponsors for their support!