• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue WordPress permalinks

TobiasP

Regular Pleskian
Until Obsidian I had to add
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}

to "Additional NGINX directives" to make pretty permalinks work with wordpress.
Since Obsidian this seems to not be necessary anymore as permalinks seem to work without additional nginx config.
But it turns out that some stuff does not work without adding the lines mentioned above.
  • One example is the cart from woocommerce - the ajax update of quantities does not work (not sure yet why)
  • The other case is "/wp-json/metaslider/v1/slideshow/save" and similar urls from the plugin metaslider. they all give an 404 error without the above config but work with the additional config
Some additional info:
I have disabled proxymode and I use php-fpm served by nginx.
if I enable proxy mode and php-fpm by apache obviously everything works because the .htaccess generated by wordpress is used
 
Last edited:
Back
Top