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

5
votes
1answer
163 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 ...
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
1answer
35 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
410 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
45 views

How to solve 404 permalink errors on nginx server

I can't solve this issue. I tried everything I found over the web. I first tried configuring my nginx.conf following the example on codex with no success. https://codex.wordpress.org/Nginx I found ...
0
votes
1answer
208 views

Using Wordpress with Apache behind an nginx reverse proxy

I hope you can help me solving my issue. I am running ngninx on a dedicated Server as a reverse proxy. My WordPress Application is on another VM, which is running apache2 as a Websever. Everything is ...
0
votes
1answer
34 views

Nginx WordPress and another Web app URL structure

I have got WordPress installed on my root example.com/ Website. Also I have another Web application that on example.com/my-app/ which has got ugly links like example.com/my-app/file.php?arg=value to ...
0
votes
1answer
32 views

Wordpress Multisite FQDN Admin Access

I have a Wordpress multisite setup at http://in-autos.com and I have a sub-domain multisite structure and a FQDN http://billgattonsales.com My trouble: I can access the Admin area by visiting either ...
0
votes
1answer
40 views

Rewrite old post images to https

I moved my site from http to https. I changed all template content to ssl, but the images in old posts are still served with http. How to catch all images and rewrite them to ssl with Nginx?
0
votes
1answer
103 views

Nginx redirects to an extra subdirectory

I have a local site installed with VVV that I've installed in a subdirectory to try and mimic the production environment. http://localtest.dev/m/ Pages are working as expected http://localtest.dev/...
0
votes
1answer
56 views

Permalinks keep reverting to 404 unless I re-save them

I'm running the latest (and constantly updated) version of WordPress on Nginx. Every now and then I wake up to a site full of 404 errors. The fix is to go into the permalinks and just save the ...
0
votes
1answer
256 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 https://...
0
votes
1answer
191 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
94 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 *....
0
votes
1answer
443 views

Wordpress Permalinks & Nginx Rewrite Rule Not Working

My Server configuration is: Nginx php-fpm5 I set up WordPress and it's working fine with custom permalink 'Day and name'. Now I want to set the rewrite rule in the nginx file and it's not working ...
0
votes
1answer
75 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
1answer
139 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
1answer
470 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". I'...
0
votes
1answer
255 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 /year/month/date/post-...
0
votes
1answer
77 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
1answer
266 views

Migrating site, only header shows

I have copied my file structure to a new server, and exported the relevant tables to an SQL file. I have imported the tables to the new database. When I visit the new URL, only the header of the ...
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
0answers
172 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 ...
1
vote
0answers
186 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
0answers
636 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
0answers
4k 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 /wp-admin/plugin-install.php?tab=search&s=captcha&...
1
vote
0answers
249 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
0answers
116 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 ...
0
votes
0answers
12 views

deleted posts together from back-end now page is unavailable nginx error

I am using bbpress plugin for Forum. I selected 20 Replies from the backend to delete together. After reloading for a while now that page is showing me nginx error. When I asked my server guy he said ...
0
votes
0answers
33 views

Css and js loading from the primary domain but i have sub nginx

I have a primary domain (example . com) and 3 subdomains (site1. example. com, site2.example and site3.example) WITH NGINX, but when i loading in subdomain url , i see in source code it was loaded css ...
0
votes
0answers
19 views

How to redirect in Nginx from Year/Month/Postname to Year/Month/Category/Postname

I am using Wordpress on Nginx, and I need to create these 301 redirects: from /%year%/%monthnum%/%postname%/ to /%year%/%monthnum%/%category%/%postname%/ from /%category%/%postname%/ to /%year%/%...
0
votes
0answers
63 views

WordPress multiple loops on home optimization

I am running an News Website based on WordPress with several plug-ins, including W3C Total Cache on my VPS (Nginx + PHP-FPM) server. The code of our home.php is: <!-- STICKY POSTS --&...
0
votes
0answers
90 views

Nginx 404 error with permalinks

I've been trying to figure this out for days via google, but none of the solutions have worked. I'm running Nginx on a DigitalOcean droplet, newest version of Wordpress, and I'm getting 404s when I ...
0
votes
0answers
24 views

Redirect while passing a variable in nginx

I have a redirect that almost works, I want to redirect the following pattern https://domain.com/foo/bar to https://domain.com/index.php/foo/?var=bar but still display https://domain.com/foo/bar ...
0
votes
0answers
73 views

NGINX 301 redirect to permalink with Post ID

I have old permalink structure like: /%postname% But now I want to change it to: /%postname%-%post_id% I'm easily to do this via permalink settings, but how I can setup proper 301 redirect in ...
0
votes
0answers
118 views

Wordpress, nginx, ispconfig3 404 in wp-admin, edit / delete load-scripts.php?

have a bit of a weird issue that I’ve spent the past 2 days trying to resolve. Basically I'm running LEMP with ispconfig3, and I’ve uploaded the wordpress files to the /var/www/www.com/web folder ...
0
votes
0answers
63 views

WP Permalinks won't work without DNS in nginx (ip/folder)

I am trying to access some of my websites via http://ip.add.re.ss/domain.com so my client can update the website content BEFORE putting it online (pointing the DNS) The website is stored in /var/www/...
0
votes
0answers
54 views

Can't get paramaters from url page of content

I'm build two plugins, each install on a different site. Plugin Site "A" for encryption all link on content of post, If I have some links look like : <a href="facebook.com">Go to facebook now&...
0
votes
0answers
134 views

Change permalinks but old should redirect to new permalink

I want to change permalinks from date/postname to category/postname. But I still want old urls to work and redirect to the new url. Is this per auto in wp or do I need to write any code? What ...
0
votes
0answers
69 views

/wp-admin/ root gives a 404

I'm using the following nginx block to route mysite.com/blog to my /var/www/mysite/wordpress/ directory: location /blog { root /var/www/mysite/wordpress; rewrite ^/blog/(.+)$ /$1 break; ...
0
votes
0answers
69 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
40 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 ?
0
votes
0answers
28 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 re-uploading the ...
0
votes
0answers
210 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
0answers
45 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
0answers
276 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 ...
0
votes
0answers
2k 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
417 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 3.5....
0
votes
0answers
194 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 "text/...