Configuring Permalinks for WordPress on Nginx

1 min

According to the official Nginx documentation and the official WordPress documentation, add the following line inside your location block:

try_files $uri $uri/ /index.php?$args;