WordPress post-name permalink redirects to site.com

Try separating the second location block: location /blog { alias /var/www/wordpress-site/; try_files $uri $uri/ /blog/index.php?$args; } location ~ \.php$ { fastcgi_split_path_info ^(/blog)(/.*)$; include snippets/fastcgi-php.conf; include fastcgi_params; fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; fastcgi_param SCRIPT_FILENAME $request_filename; } Hope this helps!

Default setting permalink /blog/

You can find the settings in the network admin options. Go to: WordPress Network Admin › Sites › Edit › Settings › Permalink Structure. This is the slug to the settings for the site ID 1: /wp-admin/network/site-settings.php?id=1

Why is page/2/ not working?

I would add this as a comment but cant right now. Im not seeing <?php get_search_form(); ?> Also, your code is not complete…you are showing a closing section tag but not the opening one. Also, you are searching page/2, this looks like a menu item. If this exact wording is not in the content area, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)