nginx + Wordpress = problems with permalinks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

nginx + Wordpress = problems with permalinks

Hi guys!
I try to use nginx for Wordpress and have a problems when setup Permalinks
to all other format when "Plain"
I use nginx 1.14.2
PHP 7.3
This is my config /etc/nginx/sites-available/default
server {
        listen 80 default_server;
        listen [::]:80 default_server;

        root /var/www/html;

        index index.html index.htm index.nginx-debian.html index.php;

        server_name ip_address_of_my_server;

        location / {
                try_files $uri $uri/ /index.php?$args;

        location ~ \.php$ {
            include snippets/fastcgi-php.conf;
            fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;

E.g. I see 404 error for this URL
For plain settings I see a page -

Posted at Nginx Forum:,289355,289355#msg-289355

nginx mailing list
[hidden email]