Title: Problem with saving post (NGINX)
Last modified: February 8, 2022

---

# Problem with saving post (NGINX)

 *  [drivercat](https://wordpress.org/support/users/drivercat/)
 * (@drivercat)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/problem-with-saving-post-nginx/)
 * Cant update or save post or draft, /content/wp-json/wp/v2/posts/2225?_locale=
   user return 301 redirect and nothing is saved.
 * My NGINX conf, WP installed in /content/ folder:
 *  index index.php;
 *  location ~ ^/content/wp-admin {
    try_files $uri $uri/ /index.php?$args; }
 *  autoindex off;
 *  location = ^/content/favicon.ico {
    log_not_found off; access_log off; } location
   = ^/content/robots.txt { allow all; log_not_found off; access_log off; }
 *  location ~ ^/content/wp-content/cache { deny all; }
 *  location ~* ^/content/(?:uploads|files)/.*\.php$ {
    deny all; }
 *  location ~* ^/content/.+\.(jpg|jpeg|png|ico|gif|swf|webp|srv)$ { expires 3w;
   gzip off; }
    location ~* ^/content/.+\.(css|js)$ { expires 7d; add_header Vary
   Accept-Encoding; } location ~* ^/content/.+\.(eot|ttf|woff|woff2)$ { expires 
   92d; add_header Vary Accept-Encoding; }
 *  rewrite ^/content/(.*)$ /content/index.php?$is_args$args last; break;`

The topic ‘Problem with saving post (NGINX)’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 0 replies
 * 1 participant
 * Last reply from: [drivercat](https://wordpress.org/support/users/drivercat/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/problem-with-saving-post-nginx/)
 * Status: not resolved