You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you find that you cannot use ?filter[]=, ?page= or any other query parameters, your server may not be properly configured to detect them. If you are using Nginx to serve your website, look for a try_files line in your site configuration. If it looks like this: try_files $uri $uri/ /index.php$args;
change it to this: try_files $uri $uri/ /index.php$is_args$args;
Adding $is_args (which will print a ? character if query arguments are found) will allow WordPress to properly receive and interpret the query parameters.
Not sure if this would apply to centminmod since I see you're using a different method than others, but I figured I'd pass it along.
In addition, it looks like adding a cache bypass rule to /wp-json is a good idea as well.
The text was updated successfully, but these errors were encountered:
Interesting thanks for heads up. I did try the Gutenberg WP Plugin on Centmin Mod installed Wordpress via centmin.sh menu option 22 and resulted in editor pages being blank. Wonder if it's due to this. Will have to test.
In addition, it looks like adding a cache bypass rule to /wp-json is a good idea as well.
Hey George,
Was going over some best practices with Gutenberg and noted that they were recommending an alteration to the try_files directive.
http://v2.wp-api.org/guide/problems/#query-parameters-are-ignored
Not sure if this would apply to centminmod since I see you're using a different method than others, but I figured I'd pass it along.
In addition, it looks like adding a cache bypass rule to /wp-json is a good idea as well.
The text was updated successfully, but these errors were encountered: