mconte
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Links to sites don't workI changed the
location ~ \.php$ {.. }
block but I’m still having the same problem..The urls exists. If I write them I can access the sites…More details about my configuration:
-I’m using php-fpm
-I’m using APCThanks for your help!
Forum: Networking WordPress
In reply to: Links to sites don't workI took my config from here:
https://rtcamp.com/tutorials/nginx-wordpress-multisite-subdirectories/server { listen test.com:80; server_name test.com; root /var/www/test/; index index.html index.php index.htm; if (!-e $request_filename) { rewrite /wp-admin$ $scheme://$host$uri/ permanent; rewrite ^(/[^/]+)?(/wp-.*) $2 last; rewrite ^(/[^/]+)?(/.*\.php) $2 last; } location / { try_files $uri $uri/ /index.php?$args ; } location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ { access_log off; log_not_found off; expires max; } location = /robots.txt { access_log off; log_not_found off; } location ~ /\. { deny all; access_log off; log_not_found off; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME /var/www/test$fastcgi_script_name; fastcgi_param HTTP_HOST test.com; fastcgi_read_timeout 120; include fastcgi_params; fastcgi_intercept_errors on; } location ~ /\.ht { deny all; } }
Thanks!
Forum: Networking WordPress
In reply to: Links to sites don't workNo, I’m not using W3TC. Actually I’m not using any cache plugin yet. Also I tried deactivating all my plugins but it still doesn’t work. Thanks for your answer!