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

Creating a URL re-write rule on Ngix causes re-direct loop with wp-admin

I have a Wordpress site hosted on Nginx by WP Engine. Currently it resolves requests to URLs either with or without a trailing slash. So, both of these URLs are functional: mysite.com/single-post ...
0
votes
0answers
12 views

Wordpress on apache + nginx proxy

I want to setup 2 server (digitalocean), one for apache and one for nginx. Nginx server will server static files and pass php request to apache server. So i have to setup my wordpress on 2 servers ? ...
2
votes
0answers
32 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 ...
0
votes
0answers
16 views

Theme Load Error

For 2 days I'm struggling and hitting my head to find out the solution but no thing. The website isn't loading images on front-page and news-ticker not working at all. I tried to reuploading the ...
0
votes
0answers
22 views

localhost config and pretty permalink

i am config my localhost by nginx why my pretty permalink not work? server { listen 80; ## listen for ipv4; this line is default and implied #listen [::]:80 default ipv6only=on; ## ...
0
votes
1answer
19 views

How can I have nginx serve WordPress at /blog?

How can WordPress be made to live at /blog, while another application handles the root directory /, using nginx? I have the ordinary subdomain setup right now, which works fine. I've read ...
0
votes
0answers
15 views

Weird POST action constantly going on

I am very confused by the following Nginx error log entries in my Wordpress site: 2015/06/10 14:58:47 [error] 6241#0: *130522 NAXSI_FMT: ...
1
vote
2answers
60 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
17 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 ~* ...
0
votes
0answers
40 views

Nginx WP permalink 404 .html

Moving a site over from Apache to Nginx. The permalink structure is using: /%category%/%postname%.html Getting 404's for all links that use .html, I have been searching for hours and cannot find a ...
0
votes
0answers
71 views

Some permalinks are not working and show 404

I'm using WP 4.2.2 on NginX, with a multisite (subdomain) installation, and I have a strange problem. My site has about 18 posts and all post permalinks worked quite fine until this morning, when two ...
0
votes
1answer
149 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
0answers
78 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; ...
0
votes
2answers
95 views

My add_rewrite_rule is returning a 404

I'm using Nginx and a custom add_rewrite_rule that looks like this: function add_pony() { //this should allow me to POST to domain.com/pony add_rewrite_rule('^pony$', 'index.php?pony=true', ...
0
votes
1answer
165 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 ...
0
votes
0answers
84 views

How to block direct access to files upload in edd folder

My site server on a shared web hosting service with Cpanel and NGINX. I want to block direct access to files upload in the easy digital downloads upload folder ( wp-content/uploads/edd ). I use ...
0
votes
1answer
34 views

Using www along with non-www for main domain in multisite installation

I have a multisite installation that runs on Nginx. In my site's configuration file, I have set the server block as: server{ listen 80 default_server; server_name example.com ...
1
vote
1answer
152 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 ...
0
votes
1answer
154 views

Wordpress permalink & Nginx Rewrite Rule Not Working

My Server configuration is: Nginx php-fpm5 I setup WordPress and it is working fine with custom permalink 'Day and name'. Now I want to set the rewrite rule in nginx file and it is not working with ...
0
votes
1answer
78 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 ...
0
votes
1answer
99 views

Mapping subdomain to point to sudirectory site in WordPress Multisite Network

I installed WordPress multisite (the sites runs in the root folder) and have created a site as a subdirectory. The web server used is Nginx. I now want to map the main domain example.com to the ...
0
votes
1answer
262 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. ...
0
votes
1answer
89 views

Why does defining MULTISITE true change the database connection in use

I have taken a copy of a multisite install to work on it locally. I've noticed that if I set define('MULTISITE', true); in wp-config, I get the standard database connection error. If I disable ...
0
votes
0answers
52 views

Proxy caching WordPress with Nginx

I will Elaborate more : I want to know how can i configure my nNginx serve to use the Proxy caching for my wordpress. I readed in a guide that the Proxy caching of Nginx is that powerfull that if ...
0
votes
0answers
180 views

Wordpress and NginX deny access to uploaded folders/files if not logged in

I have a wordpress installation on an nginx webserver. I have my users have to log-in to see any of the photos/files that I upload to the website. But, all of the photos get a direct link to the ...
1
vote
1answer
232 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 ...
0
votes
1answer
75 views

Varnish + Nginx for Wordpress is Good?

i m instaling my new server and trying make some good environment for my wordpress so i wanna know if installing Varnish + Nginx is good idea and will speed up my wordpress website or there is other ...
1
vote
1answer
448 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 ...
0
votes
0answers
209 views

Subdomain-multisite with root blog in www.domain.com in Nginx

I have WordPress multisite running on a LEMP stack in a Laravel Homestead instance. I installed the MS network using subdomains inside a domain domain.app. I'd like the domain.app be accessible only ...
0
votes
0answers
32 views

Website directories sharing same root causing URL problem

I have a problem that is a 101 consequence of not using Wordpress multisite feature. The decision was not mine, and it can't be changed. Now, this is what happens: 3 separate wordpress websites are ...
1
vote
1answer
289 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 ...
0
votes
0answers
110 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 ...
3
votes
1answer
4k 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
34 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
154 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
91 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 ...
5
votes
1answer
1k 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
309 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
339 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
247 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
135 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
259 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: ...
2
votes
1answer
217 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
147 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
68 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
1answer
184 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
174 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
121 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
429 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
812 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 ...