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
33 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
22 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 ...
0
votes
0answers
34 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
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 ...
0
votes
0answers
26 views

Pass Contact Form 7 action handler to nginx limit_req?

using Contact Form 7 and was wondering if anyone would have an idea how to achieve this if at all possible: I have a rule in my nginx server config which limits the number of requests for my wp-login ...
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
0answers
133 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
30 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
113 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
79 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
54 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
39 views

Nginx + W3 Total Cache not working

I have a Ubuntu 12.10 x64 server running Nginx + MySQL, i've installed everything and my wordpress site is perfect. But, at the moment i installed W3 Total Cache, i got an error from Minify which ...
0
votes
0answers
38 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
1answer
164 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 ...
0
votes
3answers
229 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
50 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
0answers
21 views

Apache+nginx+W3Total Cache not showing olark chat plugin

I have a wordpress install with apache backend and nginx frontend, i am using w3 total cache with nginx rules as mentioned in this post ( W3 Total Cache - Converting Apache rewrites to Nginx). ...
0
votes
1answer
53 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; ...
0
votes
3answers
227 views

Nginx config for NGG / NextGen Gallery

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
116 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 ...
0
votes
2answers
207 views

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

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
0answers
51 views

W3 Total Cache cache gzipped minified assets

I am on a quest to save every bit of cpu and cut everything possible from my pages and assets. I was able to get W3 Total Cache minify css / js working. I rely on nginx gzip_static to serve the ...
0
votes
1answer
70 views

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

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
127 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
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
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 ...
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. ...
0
votes
0answers
125 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
211 views

W3 Total Cache - Converting Apache rewrites to Nginx

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
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 ~ ...
0
votes
0answers
125 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
0answers
43 views

How Can I rewrite *.neo to /$1/ with NGINX

This is my htaccess I have my old URL like http://www.xxx.com/article-name.neo, and I want to redirect it to http://www.xxx.com/article-name/ Any help? RewriteEngine On RewriteRule ([^/]+)\.neo$ ...
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
0answers
70 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
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
2answers
186 views

http upload error as a subscribed user

Im getting an http error when uploading a featured image as a Subscriber. If I upgrade the user to editor or admin all works well. My server is Ubuntu 12.10, NGINX, WP 3.5.1 I have checked php.ini ...
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 ...
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 ...
0
votes
1answer
256 views

Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox

I'm having an issue that I can't find anybody else talking about anywhere. I have a wordpress multisite setup utilizing sub-directories. It's running on Debian Squeeze, and it's powered by nginx, php ...
4
votes
1answer
400 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: ...
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 ...
0
votes
2answers
1k views

nginx + W3 Total Cache: rewrite rules issue

nginx 1.2.7 + WP 3.5.1 + W3TC 0.9.2.8. Rewrite rules generated by the plugin simply don't work, server returns 404 after including them in nginx server config. Or maybe I'm doing something wrong? ...
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 ...
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/ ...
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
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 ...
-1
votes
3answers
3k views

nginx + wordpress: Best practices for configuring it to be secure, reliable, and fast? [closed]

BACKGROUND: Running everything up on Linode. Having followed the "Getting Started," "Securing Your Server," "LEMP Server on Ubuntu 12.04," and the "Manage Web Content with WordPress" guides I was ...
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 ...