Woocommerce 404 error

How to solve the Woocommerce 404 error (not found)? I have installed Woocommerce and received a 404 not found error at the shop and products.

All of the internet is about the permalinks but this wasn’t the problem in my case.

Solution:

location / {
  try_files $uri $uri/ /index.php?q=$uri&$args;
}

After i have added this line to the vhost configuration of my nginx webserver everything worked fine and the 404 error disappeared.

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Nach oben scrollen