Woocommerce 2.1.12 nginx

Written by James McDonald

August 22, 2014

Problems:

  1. Click on cart or checkout or my-account and 404 not found
  2. Clicking shopping cart red item delete button doesn’t delete the cart item.
  3. Cart only worked with permalinks set to “Default” i.e. not any rewriting

Possible cause:

Bad nginx configuration

# before
location  / {
        try_files $uri $uri/ /index.php;
  }

# fixed 
location  / {
        try_files $uri $uri/ /index.php?$args;
  }

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...