• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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