• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk php-fpm + Nginx and Wordpress permalinks get 404 errors

jeanpaul

Basic Pleskian
Hi,
i don't understand why wordpress doesn't work with PHP-FPM/NIGNX. When i enable permalinks in wordpress, i get 404 errors links.

erreur-plesk-12-5.png
it's a domain name and not subdomain. I see on somes thread to use

Code:
# Wordpress permalinks
if (!-e $request_filename) {
    rewrite ^(.*)$ /index.php?q=$1 last;
    break;
}

erreur-plesk-12-5-nginx.png
 
it seems we need to check 2 checkbox and add Wordpress Permalinks Additional Rules. Someone can confirm this ?
erreur-plesk-12-5-nginx-v2.png
 
Back
Top