If you have your Plesk server configured to use nginx with PHP-FPM, you may require a configuration change in order to allow URL rewrites (“Permalinks” in WordPress) to display neat URL’s. This is also required for other PHP platforms such as Magento. With an Apache based system, this was normally set via the .htaccess file. However, nginx doesn’t read this file so it must be added directly into the Plesk configuration.

This article will is applicable to Plesk 12.5, Plesk Onyx and Plesk Obsidian.


For ease of use, Conetix highly recommends using the standard configuration with Apache and NGINX combined. This is the default for all Plesk installations and has no measurable performance difference.


  1. Login to Plesk and select the domain you need to update.
  2. Click on the “Apache and nginx settings” link:
    plesk 12.5 - apache and nginx settings
  3. Scroll right to the bottom and add the following to “Additional nginx directives”:
    if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }
  4. Click OK to save and apply.
  5. You can now login to WordPress (or similar) to enable Permalinks.  
Was this article helpful?

Related Articles