Redirect the whole blog to SSL but not the RSS feed (under Nginx)
Redirect the whole blog to SSL but not the RSS feed (under Nginx)
Redirect the whole blog to SSL but not the RSS feed (under Nginx)
It looks like your’e missing the subdirectory part relative to the root setting, try this instead: try_files $uri $uri/ /wordpress/index.php?$args; and you shouldn’t need the q=$uri part. For subdirectories dir1 and dir2, you could wrap the try_files with locate blocks, something like: location /dir1/ { try_files $uri $uri/ /dir1/index.php?$args; #… } location /dir2/ { try_files … Read more
Solved. Nginx and WordPress were acting correctly. There was an error condition further down my request processing code.
Nginx — WordPress multisite with root folder in own directory
Correct regex for Nginx FastCGI cache?
After updage wordpress 4.4 to 4.5 nginx config works not properly
NGINX rewrite rules for multisite
WordPress Network (multisite) — how to ensure each site has their own admin URL?
Check the nginx error.log (based on nginx.conf error_log location). $ sudo nano /path/to/nginx/error.log There is a “permission denied” error on /var/lib/nginx. This happened because I changed the user setting in nginx.conf from user nginx; to something else. In this case, user iam; Solution: Check the current user and group ownership on /var/lib/nginx. $ ls -ld … Read more
I’ve searched in the admin templates. It seems the placeholders rely on the functions wp_get_referer() and wp_get_raw_referer() which use $_SERVER[“REQUEST_URI”], $_SERVER[‘HTTP_REFERER’] and a wp custom variable passed in the request : $_REQUEST[‘_wp_http_referer’]. So WordPress builds some URLs (apparently not all) on REQUEST_URI, that is /wp-admin/whatever (in the backend). The logs show that wp-admin/admin-ajax.php comes through … Read more