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

10
votes
4answers
2k views

Optimize apache for WP use

Greetings, I have a WP site with over than 150k pageviews /day. It's running on a Intel Core i5 CPU 760 @ 2.80GHz, with Centos and 4 GB of RAM. The problem is WP consumes too much RAM and after a ...
6
votes
1answer
941 views

nginx or cherokee ( +php-fpm ) for WordPress backend?

For years, I've been using apache2 with mod_php, but recently I migrated to nginx with php-fpm. Although it is a lot faster and more stable, I also took a look at cherokee, since both can handle ...
5
votes
1answer
429 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 ...
4
votes
1answer
399 views

How do I add a server-independent external rewrite rule?

External rewrite rules are awesome. They let you define rewrites that don't necessarily pass through WordPress' index.php. This means you can map arbitrary rules to arbitrary files like: ...
3
votes
6answers
550 views

What issues would you face if you use Nginx

WordPress is quite a memory hog, and I've been thinking of using nginx rather than apache. The one major consideration before doing that is if there are any plugins which will stop working. I have ...
3
votes
2answers
331 views

In terms of performance - Is unmanaged VPS better then a managed one - for WP sites?

I am looking into optimizing my WP blogs, and one thing that comes out is that several of the most acclaimed solutions people are offering (Such as eaccelerator and Nginx), are only available if I had ...
3
votes
3answers
1k views

404 error on homepage when using Nginx proxying to Apache

I generally use Nginx to serve static content on my server, with Apache handling PHP content using PHP-FPM. However, I'm not able to get a Wordpress blog homepage to display and I've tried all the ...
3
votes
1answer
343 views

Fastest Server Config, Whats your suggestion?

If you were configuring a new VPS for a WP website that hasn't launched yet, What technologies would you choose? (website specs below) Website Targeting 50-60k hits /mo. and more The website is ...
2
votes
1answer
769 views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
2
votes
1answer
353 views

Does running Wordpress on Nginx do “squat” for its performance?

This article states: If you aren't already using a PHP opcode cache and WordPress caching plugin, nginx will do squat for your WordPress-based website's performance. Could someone elaborate ...
2
votes
1answer
1k views

Wordpress Installation for multi-domains with nginx and php-fpm

I am new to Wordpress. I googled around but could not find precise steps to install Wordpress with nginx multi-site configuration. I want to install wordpress 3.3.1 on Ubuntu 11.10. I already ...
2
votes
2answers
830 views

Configuring Routing Rules for WordPress+Nginx and WP-SuperCache?

How do you set up routing rules correctly with Nginx to support WP Super Cache for a WordPress (3.x) site?
2
votes
2answers
3k views

W3 Total Cache Minify Rewrite Error with Wordpress on nginx

I'm trying to get W3 Total Cache to rewrite URLs to minified files. I've tried every tutorial I could find but I don't seem to be able to get it right. I keep getting a W3 Total Cache error saying ...
2
votes
0answers
21 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
2answers
387 views

PHP Code stuck in Cache [Memcached]

Been having a bit of a problem with my site regarding our caching method and my php code not refreshing or flushing. To start, my site is on a dedicated Nginx webserver. I used W3 Total Cache for ...
1
vote
1answer
99 views

Permalinks for custom taxonomy stopped to work

I'm not sure when this happened, I just noticed it. I have custom taxonomies and post types. For the longest time I was able to go to domain.com/taxonomy/term and it would display the posts related. ...
1
vote
2answers
315 views

Intermittently missing pages and posts in WordPress

Every now and then some of my Wordpress pages (and posts) seems to be missing, I get the 404 page (although the HTTP response code is 200). A couple of hours later the page is back, with no changes in ...
1
vote
1answer
142 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. ...
1
vote
1answer
2k views

Nginx Rewrite Rule:: index.html added to every permalink

Been working for several hours on getting my WordPress site to run on a secondary VPS with Nginx. Home is loaded and W3T Cache is working OK, but the permalinks are still broken and each one of them ...
1
vote
1answer
507 views

Nginx + Redirection Plugin breaks Permalinks

I'm migrating from Apache to Nginx. Everything works great, except if I have the Redirection plugin enabled. In this case, I can't access any of the pages on my site with the exception of the home ...
1
vote
1answer
308 views

NGiNX + PHP5-fpm + CDN Tools (plugin) [closed]

I am trying to activate the CDN tools plugin and I keep getting the following error: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) in ...
1
vote
1answer
3k views

Nginx WordPress Multisite Rewrite rules

I am having trouble with my rewrite rules with my new nginx install. If I access the image manually like here, ...
1
vote
1answer
41 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 ...
1
vote
0answers
75 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
60 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
1
vote
0answers
40 views

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

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 ~ ...
1
vote
0answers
216 views

nginx varnish w3 total cache issues

I converted a few sites from Apache to nginx and it was running well for a while. I recently updated the nginx configuration regarding the new changes to W3 Total Cache rules. I also tried to clean ...
1
vote
0answers
166 views

Help with multisite redirect issues using Cherokee OR solid nginx config?

A little background: We've decided to abandon Apache because it can't keep up with the demand we're putting on it. We have a cron script that will create a new post about once every 3 or 4 seconds ...
1
vote
1answer
266 views

Mysterious HTTP 404 header in my own scripts

I have a WordPress 3.5.1 + nginx configuration. Its nginx configuration is this: server { root /mysite/public_html; server_name wp.mysite; location / { try_files $uri $uri/ ...
1
vote
1answer
152 views

A single category with a specific permalink structure differing from the standard set for the rest of the site

I'm interested to know if there's a method to specify a specific link structure for only a single category. Currently I have my install set to /2012/12/post-title. However there is a single category ...
1
vote
0answers
99 views

SSL via different domain & path with NGINX/PHP-FPM/WP

I am going to be hosting several WordPress blogs. They are all going to have their own domains. I want to handle their administrative functions via SSL but I do no want to buy an SSL certificate for ...
1
vote
0answers
137 views

My WordPress site always displays a cached version of its homepage

I have a WordPress site that runs fine, but there's a strange behaviour: one a reader loads the page, the site shows a "cached" version of the site, with the same news and comment numbers that the ...
1
vote
3answers
484 views

My WordPress site always displays a cached version of its homepage

First of all, sorry if I'm making a mistake. I already asked this on the ServerFault forum, but got no answers at the moment and I thought it would be a good idea to ask the question here, considering ...
0
votes
2answers
2k views

How to remove the index.php in the url?

I have installed wordpress in a subdirectory (blog). In the root directory I have installed Magento. Now the file directory is as following: app downloader includes media .... blog/wp-admin My ...
0
votes
3answers
214 views

Recommendation for server config for Wordpress Staging servers [closed]

I've won a sweet managed VPS hosting package with Anchor (VPS D), and I'm looking for recommendations on how to set up the server. Anchor will setup apache or nginx for me - but which should I ...
0
votes
2answers
2k views

W3Total Cache problem with Nginx

Hi I installed w3 total cache on my nginx powered site, I'm having errors however. For example when I enable page caching disk:enhanced I get: It appears Page Cache URL rewriting is not working. If ...
0
votes
1answer
2k views

Nginx rewrite rules

I am having some problems with the Nginx rewrite algorithm for WordPress. I am using this for the rewrite and it works good; server_name www.domain.com domain.com; if ($host != ...
0
votes
1answer
43 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
3answers
4k views

Blog has an infinite redirect loop

Why is http://compassionpit.com/blog/ going through an infinite redirect loop? Here's my nginx conf file. The site is run by a nodejs server on port 8000 and Apache serves up the blog (wordpress) and ...
0
votes
1answer
108 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
1answer
86 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
1answer
99 views

Enable Minify in W3Total Cache using NGINX

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
151 views

Jetpack stats and caching strategy

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 ...
0
votes
1answer
139 views

Something is injecting a slash after any static file response , server is nginx

This is what chrome's console says: Resource interpreted as Stylesheet but transferred with MIME type text/html: "someserver/wp-content/themes/pgcss/normalize.css/?ver=3.5.1". someserver:18 ...
0
votes
1answer
195 views

Second page (and next) of search results redirects me to the home page

WP 3.5, nginx (latest) and PHP5-FPM (latest). If you visit http://bombacarta.com/?s=coma the page is properly loaded. When you click on the link to go to the next page, you are redirected to the home ...
0
votes
1answer
120 views

Which version of PHP-FPM is necessary to work with WP 3.5?

I'm trying to establish a blog with NGINX and PHP-FPM. I wonder if my version of PHP should work with WordPress /usr/bin/php-cgi -v PHP Warning: PHP Startup: magickwand: Unable to initialize ...
0
votes
1answer
132 views

If I use Apache & ngnix together will I have fewer problems?

I have a VPS set-up and because it had limited RAM I set it up to run nginx instead of apache. But although performance has been reasonable, I've had problems with things like multi-site rules and ...
0
votes
1answer
579 views

Scheduling doesn't work due to caching?

I'm using W3 Total Cache and Nginx with Varnish, and I'm very happy with the speed. However, I noticed that when I schedule a post, the post doesn't get automatically posted when I'm a visitor. When ...
0
votes
2answers
1k views

Multiple sites with pretty permalinks with nginx

I'm trying to set up a new local development server and instead of Apache I've decided to go with nginx. What I'd like to do is have each WordPress site live within its own directory inside ...
0
votes
1answer
458 views

Custom permalinks not work on Nginx + Apache

I have strange situation...my permalinks not work after setup nginx to work with apache. permalinks work if they not finish with ".html", but work if finish with "/" ie.: this work: ...