Enable Minify in W3Total Cache using NGINX [closed]

Try using the following for your rewrite rules:

location / {
     try_files $uri $uri/ /index.php$is_args$args;
}

Using that schema, you can manually remove index.php from your Permalinks settings without breaking anything. Nginx will now check any URI for its existence as a file on the filesystem, and then a directory on the filesystem, and if neither of those return a valid entry it hands off the entire URI to index.php to process, complete with any query strings if any are present.

For W3 Total Cache, try the following: W3 Total Cache Minify Rewrite Error with WordPress on nginx

Leave a Comment