Installed WP in a subdir, can access wp-admin, but URLs are getting re-written without the subdir PATH. Where do I set this?

2018-04-30 Thread aclion
I've installed WP in a site subdir. I can now access wp-admin pages at the expected URL. Sort of. I can get there manually, but my site config keeps redirecting, stripping URLs of the subdir path to WordPress. My config now has wp-config.php https://test.example.com/bl

Re: nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-30 Thread aclion
Got this sorted! AC ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-29 Thread aclion
This config seems to get me further, or maybe just different location / { index index.php; try_files $uri $uri/ /index.php?q=$uri&$args; } location ^~ /blog { alias /srv/www/test/wp/public/blog; index index.ph

nginx + php-fpm ERROR 'FastCGI sent in stderr: "Primary script unknown"' for 2nd app (WP) in a subdir. Main site is OK.

2018-04-29 Thread aclion
Hi, I'm trying to set up WordPress in a subdir on an Nginx+PHPFPM setup. I'm running nginx/1.14.0 PHP 7.2.4-dev (fpm-fcgi) wordpress/4.9.5 The skeleton I have so far is tree -L 3 . . ├── includes │   └── front.inc ├── public │   ├── css