Woocommerce – 404 not found (Shop/Products)

I have installed Woocommerce and received a 404 error at the shop and product pages.

All in the internet is about the permalinks but this wasn’t the problem


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.