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
2answers
485 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
2answers
109 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
0answers
30 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
18 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
52 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
20 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
1answer
23 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
25 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
0answers
16 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
88 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
23 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
52 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
84 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
223 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
1answer
246 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
95 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
0answers
100 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 ...
2
votes
0answers
125 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
1answer
39 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
174 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
84 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
201 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 ...
1
vote
1answer
557 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
1answer
104 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
401 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
101 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
1answer
248 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 ...
1
vote
1answer
262 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
0answers
54 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
195 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 ...
0
votes
1answer
82 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 ...
0
votes
0answers
219 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
33 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
299 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
127 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
35 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
160 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
votes
2answers
340 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 ...
1
vote
0answers
98 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 ...
0
votes
0answers
257 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 ...
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, ...
1
vote
3answers
1k 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
1answer
322 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
344 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 ...
1
vote
2answers
854 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
139 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
266 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
2answers
4k 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
vote
0answers
3k 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 ...