• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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