Tagged Questions

Nginx (pronounced “engine-x”) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server., licensed under a BSD-like license. It is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Nginx ...

learn more… | top users | synonyms

0
votes
0answers
14 views

Trouble with custom post type archive on multisite install

I have a problem with a post type archive on a multisite install. When try to access it on one of the sites I end up getting a 404. Checking the url shows the following, all other sites work without ...
-2
votes
0answers
26 views

Install wordpress on Windows server with minimum problem (plugins compatibility) and maximum performance [closed]

I will use this on Production environment (50000 unique visits per day) MySql will be installed on windows, so there is no problem for database side Options: Install Wordpress via WebPI then ...
3
votes
1answer
156 views

Wordpress homepage loads but all permalinks are 404 when using nginx & PHP-FPM

I have been trying to resolve an odd problem with my nginx config, which seems to have stopped working shortly after applying a Debian backports upgrade. The landing page of my blog ...
0
votes
0answers
14 views

How to update plugins in a distributed wordpress scenario?

I have wordpress running with nginx behind a load balancer. Everything is running well. However, given that I have multiple sets of files, what's the best way to update them all? Ansible? Looking for ...
0
votes
1answer
41 views

Subdirectory multisite - only root admin available on NGINX

I'm trying to set up a multisite subdirectory install on NGINX, with WordPress core in its own subdirectory, and running into some trouble. I'm using this file structure: ...
1
vote
0answers
21 views

Redirect the whole blog to SSL but not the RSS feed (under Nginx)

I have an Nginx installation and sadly, I'm seeing that a few posts aren't appearing on Feedburner because some sort of problem between Feedburner and SSL (I moved my blog to SSL recently). So, I ...
4
votes
1answer
239 views

Nginx + WordPress + HHVM: Why isn't Batcache working? Would Varnish help even more?

I've heard great things about HHVM, so I've setup a copy of WordPress blog (on another domain) with Nginx (with the Pagespeed module) and HHVM. Right now the benefits are obvious: on the same config, ...
0
votes
1answer
49 views

Pages, aside from admin-side and the home page, read “500 Internal Server Error - nginx/1.1.19”.

I've set up a WordPress website. I'm able to login, and browse the front page- but everything but the admin-side brings me to a white page with the texts "500 Internal Server Error - nginx/1.1.19". ...
0
votes
1answer
144 views

WordPress in subdirectory, Multisite using subdomains Nginx

I'm usually running WP on Nginx + PHP-FPM in a sub-directory (similar to Mark Jaquith's Skeleton) without any issues, all permalinks are working just fine. Now I tried to do this with WordPress ...
0
votes
0answers
52 views

Wordpress wp-ffpc + memcached + nginx [closed]

Seem to be having issues with the centmin build, nginx + memcached with wordpress and wp-ffpc plugin. When I have the plugin active. The site doesn't load, just get a white screen, memcached is ...
1
vote
0answers
75 views

Cache issues with redis and nginx

I have a problem with the rewrite rules in my nginx config file. I am running wordpress with nginx and redis to cache the site. I can get the redis to cache all pages not a problem, but as I am ...
1
vote
1answer
119 views

Nginx with Wordpress not showing template 404 for certain file types

I am using Nginx on Ubuntu to host a Wordpress site and everything is working great except certain file types return the Nginx 404 rather than the Wordpress template 404. For example: ...
0
votes
0answers
22 views

There are any drawbacks for serving Wordpress completely over HTTPS?

I've managed to configure an nginx server with HTTP and HTTPS for a single site Wordpress Installation. The main goal was to serve restricted pages over HTTPS but this ended up with a huge nginx.conf ...
2
votes
1answer
103 views

NGINX conf on WP Multisite enabled — subdirectory — images fail to load after updates

A server with nginx and WP 3.9.1 was working properly. The nginx helper plugin was updated two days ago and now no images or zip files in the uploads directory are available in the browser or the ...
0
votes
1answer
73 views

Limit file downloads to logged in users (WP + Nginx)

I am looking for a way to restrict access to mp3 files on my site to logged in users only. The approach listed here sounds pretty much like what I need: RewriteEngine On RewriteBase / RewriteCond ...
0
votes
1answer
61 views

How to debug failed changes to posts?

I just rebuilt my server with Ubuntu 14.04, Nginx 1.6.0, PHP 5.5.9 and Wordpress 3.9. I am able to complete the Wordpress install and login to the Wordpress dashboard, however, I can't make any ...
0
votes
0answers
227 views

Nginx rules for multi-site with fixed alias slugs

I had a working WP 3.5 site on apache2. We're moving to a new server and using Nginx. I have updated the files to WP 3.9 (latest current). Accessing /wordpress/ directly lets me see the master ...
0
votes
1answer
82 views

WordPress site displaying 404 for any page apart from index

My WordPress site is returning a 404 not found error on any page apart from the homepage and /wp-admin. I have no absolutely no idea why this is. My Permalinks are set up to use ...
0
votes
0answers
102 views

ReWrite Permalink to New Permalink Nginx

I used to have /%postname%/ permalink but something odd happened today, all links that I click suddenly redirect to home. So I changed the Permalink to /%category%/%postname%/ but this is a big ...
2
votes
0answers
88 views

WordPress Multisite with multiple domains using Nginx

I'm growing grey hair here. I've tried so many things and yet I can't get a grasp on how to set this up. Found tons of guides but no one goes through all aspects, which are: A single WP Multisite ...
1
vote
0answers
154 views

Wordpress and nginx, download some pages instead of serving them

Today i setup wordpress with nginx. The problem, i cant figure out, is that some pages will be served as expected and some other will be served as download. If i download them, the content is the sama ...
1
vote
2answers
437 views

Nginx rules for subdomain multisite install (Bedrock)

I'm trying to move an existing Bedrock based multisite instance to nginx and am having difficulty getting a set of nginx rules to mimic the original .htaccess. Bedrock places the crux of the files in ...
0
votes
1answer
145 views

get_posts ignoring 'category' and displaying all posts

I'm going a bit crazy on this one. I'm trying to display a list of posts in a category on an Admin page in a plugin I am writing. The following code works fine on my dev server (OS X/Apache): $args = ...
0
votes
0answers
598 views

WordPress - admin-ajax.php returns 502 Bad Gateway

I'm getting a 502 Bad Gateway error for wp-admin/admin-ajax.php -- this is a WP site, hosted on WebFaction, which is using nginx. Where it most obviously crops up is when adding a new post or page, ...
0
votes
0answers
56 views

WordPress Multisite on nginx

We have two versions of our site test.example.com running on nginx and our core site example.com running on Apache. The site is running for few year and has a lot of content and traffic. We want to ...
0
votes
1answer
986 views

Wordpress redirecting connections on port 8080 to 80

I have a wordpress blog which is served by apache2(on port 80) and nginx(on port 8080) on Ubuntu 12.04. Now whenever a client connects via port 80 all is hunky dory, but when a client connects to 8080 ...
0
votes
0answers
1k views

Random occurences of 502 Bad Gateway using Wordpress and Nginx

I am new to using Wordpress on Nginx and am seeing funny errors pop up here and there. For a while when I was searching for a new plugin through ...
0
votes
1answer
244 views

Remove site root trailing slash

I am using Wordpress for a "news" section on a e-commerce site. So the root of the wordpress install is in a sub-folder. www.mysite.com/news I have setup the home & site URL to reflect this in ...
0
votes
0answers
91 views

Permalinks not working for subsite

I have a Wordpress multisite install on Nginx. Currently I have site1.com as main site. And I added a new site called site2.com as subdirectory. However, I noticed you can actually click on Network ...
0
votes
2answers
567 views

How to rewrite rules for WP-security in Nginx?

I have a WordPress website on a VPS running nginx. I have installed the WP Security plugin to improve the security of my site. After changing all the settings to my liking, a pop-up notifies me that I ...
1
vote
3answers
829 views

How to run a subdirectory multisite install under a subdomain

I am on a VPS running Nginx as a backend server. I want to set up a sub-directory multisite WordPress installation, however I want all sub-sites to be under one sub-domain also. For example: My main ...
0
votes
1answer
58 views

Apache extensions for WordPress' working without troubles

I have a new web server at the Hetzner EX60. With this new site I have many problems. First of all I need to say that I have problems with default theme and without any plugins. I tried to resolve ...
0
votes
1answer
150 views

nginx wordpress subdirectory Invalid post type

I have an Ubuntu server running Nginx, php-fpm, and wordpress in a subdirectory. My config looks like this: server { #My site configuration location /blog { root /home/user/www; ...
1
vote
3answers
697 views

Nginx config for NGG / NextGen Gallery [closed]

I run wordpress on nginx + php-fpm in a subfolder abc. I want to upload images into a NextgenGallery and the ajax-based uploader yields this: POST 404 for ...
0
votes
0answers
129 views

File Not Found, Nginx + Multisite Subdomain

Here is my configuration http://paste.ubuntu.com/6392996/ (domain name have been replaced). I currently have some files uploaded to wp-content/blogs/dir/3/files/2013/11/, where 3 is the Blog ID of my ...
1
vote
1answer
397 views

Large Woocommerce Site (83,000 items), What Can I Do? [closed]

So I have a really large woocommerce site (partsboss.co) that has around 83,000 items. It's on VPS hosting with digitalocean, and things were running super fast until around 50,000 items. Now the ...
0
votes
1answer
98 views

W3 Total Cache Minification - Any way to not use php? [closed]

I use nginx, php5-fpm and fastcgi_cache. W3TC minification seems good enough, but every include points to "minify.php?". I want to be able to keep my site up even if php and mysql server's goes down - ...
-1
votes
1answer
160 views

How do I make the server response faster on search results

I have my own virtual server in the cloud, running nginx and APC. On this server I have one wordpress blog using the W3TC-plugin. I've enabled page cache and object cache using APC. When accessing ...
1
vote
0answers
105 views

Cache minified assets NGINX / fastcgi_cache [closed]

I tried using ngx_pagespeed but the cpu usage is too much for me. Now I need a minify tool that can do the best on my websites (all wordpress) and can work together with fastcgi_cache. Here is how it ...
1
vote
0answers
104 views

Buddypress & Nginx x configuration [closed]

I am interested in finding out if anyone would be kind enough to post a working BuddyPress and Nginx vhost file configuration. I have a tried a version that does not seem to work. Thank You
5
votes
1answer
628 views

WordPress Multisite, NGINX and WordPress Subdirectory Install

I'm attempting to set up WordPress skeleton (https://github.com/markjaquith/WordPress-Skeleton/) in a multisite configuration. WordPress skeleton already places WordPress in a subdirectory (wp by ...
1
vote
1answer
270 views

Multisite WordPress nginx uploaded files throw 404

I have a WordPress subdomain multisite install in the /blog subdirectory running on an nginx server. Everything works fine except files which do upload correctly but are not accessible via their url. ...
0
votes
0answers
165 views

WordPress on Nginx - Missing admin/toolbar

Hi I've been trying to figure this out for quite some time now, but whatever I do nothing seem to work. I have a VPS setup running Nginx + Varnish with WordPress multisite. Everything works fine ...
0
votes
1answer
320 views

W3 Total Cache - Converting Apache rewrites to Nginx [closed]

I'm trying to convert the following Apache rewrites to Nginx : <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" ...
1
vote
0answers
47 views

Permanently modifying the W3 Total Cache's nginx.conf file [closed]

I want to have an add_header directive inside a location block of the nginx.conf (inside the document root) generated by W3 Total Cache like this # BEGIN W3TC Page Cache cache location ~ ...
0
votes
0answers
201 views

HTTP_HOST changing in functions.php

I have getting variable results from the $_SERVER['HTTP_HOST'] variable in the functions.php file of our child theme. Let me explain our setup and then I'll explain the issue. We are running WP ...
0
votes
1answer
92 views

Ubuntu 12.04, Nginx and MySQL issue with Wordpress Database

Twice I installed a fresh LEMP Ubuntu 12.04 instalation on my server and started to build a wordpress site on my VPS following This tutorial. Now, for the second time, after a while I can't write do ...
0
votes
0answers
124 views

Content-type return text/plain instead of text/html after login as admin

I have a website at http://blog.rhinoera.com/. Hosted at Webfaction, which uses nginx as reverse proxy to serve php. Everytime I login as administrator, the http header that webserver returns ...
0
votes
1answer
120 views

Enable Minify in W3Total Cache using NGINX [closed]

I am having an issue with enabling minify with the W3TC plugin. I am using a LEMP stack and cloudfront as a CDN, and all of these features, except for the minify work fine. In order to enable fancy ...
0
votes
1answer
204 views

Jetpack stats and caching strategy [closed]

I'm thinking about hosting a WordPress website with agressive caching/optimization strategies (like varnish, microcache, ngx_pagespeed, etc). But I still want Jetpack stats to work alright. What ...