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
4k 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 ...
8
votes
2answers
3k views

WordPress wp-admin https redirect loop

I am using nginx as my webserver and i have edited the configuration file to point to https, so i change the WordPress url settings to https and also added the WordPress force ssl admin code to my wp-...
6
votes
1answer
1k 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 php-...
6
votes
1answer
997 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 ...
5
votes
1answer
433 views

Nginx FastCGI_Cache Vs PHP Caching

I have been doing some experimenting with caching performance using loader.io and have been left with some puzzling results. I was originally on a shared host that used a LAMP stack. Even with ...
5
votes
1answer
751 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: $...
5
votes
1answer
2k 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, ...
5
votes
1answer
162 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 ...
3
votes
6answers
837 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
1answer
177 views

WordPress tips for speed and performance [closed]

I have got some problems with performance, exactly page speed load on my Website. Here are things listed below: I have got WordPress installed on my VPS with Nginx platform. AMD 8 cpu's 2x SSD ...
3
votes
2answers
362 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
2answers
1k 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 ...
3
votes
1answer
8k views

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 (http://blog....
3
votes
3answers
2k 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
194 views

How to configure nginx to redirect requests to the uploads directory to the production server?

I'm just getting my feet wet with nginx. In the past I've used an .htaccess file in /wp-content/uploads so if my dev or staging server doesn't have the file it redirects to the production server: <...
3
votes
1answer
358 views

NGinx + Wordpress Subdomain Multi with core in Subdirectory

I have a WordPress install that works perfectly on a Apache server. I am currently in the process of both changing my hosting company (the new one offer NGinx) and my development stack (moving to vvv)....
3
votes
1answer
570 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
3k 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 ...
2
votes
1answer
325 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 ...
2
votes
1answer
3k 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
367 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
2k 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
881 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
4k views

W3 Total Cache Minify Rewrite Error with Wordpress on nginx [closed]

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
1answer
621 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/ /index....
2
votes
1answer
1k views

WordPress Multisite with NGINX, subfolders, and FROM a subfolder

Dear fellow WordPress enthusiasts, I am using WordPress multisite. The default blog works, with permalinks, but not the subblogs. I get a redirect loop when trying to access /wp-admin on a network ...
1
vote
2answers
613 views

PHP Code stuck in Cache [Memcached] [closed]

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
4k views

Prompted for FTP details even with FS_DIRECT set to true

I am running WordPress 4.1 Multisite on CentOS with NGINX. I have set define('FS_METHOD','direct'); in wp-config.php but am still getting prompted for FTP credentials when trying to install a plugin. ...
1
vote
1answer
4k 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 != 'domain.com'...
1
vote
1answer
36 views

How to test drive WordPress on VPS with LEMP stack before going live?

I have example.com up and running on a VPS droplet running Ubuntu 16.04. The website was built with WordPress on LEMP stack (Linux EngineX MySql and PHP) which was done using EeasyEngine. EasyEngine ...
1
vote
3answers
2k 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 ...
1
vote
1answer
171 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
518 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
29 views

Server Move: All pages leading home

The Problem. No matter which URL I enter, all pages display the site's static front page. Known site URLs load the home page (but keep the URL entered) and should-be 404 paths like /I-know-you-do-not-...
1
vote
1answer
3k views

Changing permalinks gives me 404 errors on nginx

EDIT It turns out that I was barking up the wrong tree trying to edit .htaccess, as nginx doesn't use it. What I apparently need to do is edit my .conf file. Before I read this, my_app.conf looked ...
1
vote
1answer
488 views

Wordpress performance - W3 Total Cache and memcached/APCu

I have freshly installed Wordpress, Nginx with PHP-FPM, W3 Total Cache (plugin), memcached and APCu on PHP 5.5. I will run a benchmark on my local mac against the aforementioned AWS server using ...
1
vote
1answer
162 views

Nginx rewrite rule conflict with WordPress permalinks rule

Facing issue with nginx url rewrite rules. What I want is to serve http://example.com/2015/03/23/post-title/ page when someone tries to access http://example.com/2015/03/23/myfeed/post-title/ url. And ...
1
vote
1answer
587 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
4k 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
1k views

Nginx + Redirection Plugin breaks Permalinks [closed]

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
333 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 /srv/www/www....
1
vote
1answer
5k 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, incredible.devpreview.co/wp-content/blogs.dir/2/files/2011/05/stockvault-colorful-...
1
vote
1answer
34 views

After updage wordpress 4.4 to 4.5 nginx config works not properly

Permalinks (post name option) stop working (get 404 page with text "It seems we can’t find what you’re looking for. Perhaps searching can help.") after upgrade from 4.4 to 4.5. I use nginx as a ...
1
vote
1answer
36 views

WordPress takes too long to show 404 error on images (on LEMP stack)

I have installed WordPress on LEMP stack on DigitalOcean and noticed that all the 404 images on the pages are taking too long to show a 404 error message. Those images are not existing so it will ...
1
vote
2answers
253 views

nginx - permalinks with .php in url not working

I'm moving a site from an Apache server to a nginx server. A lot of the pages have a .php extension at the end of the permalink. Trying to view those pages results in a nginx 404 Not Found. However ...
1
vote
0answers
97 views

Correct regex for Nginx FastCGI cache?

https://codex.wordpress.org/Nginx#Nginx_fastcgi_cache currently has the following regex: # Don't cache uris containing the following segments if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|/wp-(app|...
1
vote
0answers
166 views

Nginx — Wordpress multisite with root folder in own directory

I have my Wordpress files in a directory called wed. I also have the following rewrite rules in my Nginx config: if (!-e $request_filename){ rewrite /wp-admin$ $scheme://$host$uri/ last; ...
1
vote
1answer
409 views

How do I fix permalink and media library issues on a LEMP stack?

So, I'm setting up a wordpress site on Digital Ocean's IaaS. I'm using nginx as a proxy and web server (instead of apache), so a LEMP stack. I was able to get my site up and running, though there are ...
1
vote
1answer
467 views

Nginx url rewrite rule problem

I am facing a problem with the permalink. Urls like http://example.com/sub-page/ works fine with the help of try_files $uri $uri/ /index.php?q=$uri&$args; Right now i am working on temporary ...
1
vote
0answers
170 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 ...