• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Plesk php-fpm and Wordpress permalinks

Ryan_Smith

New Pleskian
I've searched and tried every solution to this I could find. When Plesk 12.1 is configured to process php by nginx, I just can't get Wordpress permalinks to work. If I switch permalinks to default the pages will appear, but if I use something like day and date for the permalinks I get a Nginx 404 error. Of course if I'm just using Apache and it can read the .htaccess file everything works fine. I think part of the reason the solutions I find won't work is my main site is static with the wordpress blog in the /blog/ subdirectory. What would I add in Plesk to get permalinks to work correctly with wordpress in a /blog subdirectory. I'd also like to get WP Super cache working as well if possible. Thanks for the help.
 
Well I'm currently using...
Code:
# Wordpress permalinks
if (!-e $request_filename) {
  rewrite ^(.*)$ /index.php?q=$1 last;
  break;
}

In Additional nginx directives. But my site is installed in "/" rather than "/blog".

If you already have Apache rewrite rules you can try the .htaccess to nginx converter in...
Plesk -> Extensions -> Extension Catalog


Maybe it'll help
Kind regards

Lloyd
 
Back
Top