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
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 ...
0
votes
1answer
24 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
451 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
2answers
778 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
1answer
436 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 ...
1
vote
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 ...
0
votes
0answers
13 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 ...
0
votes
2answers
56 views

Wordpress with Photocrati Theme keeps resetting site URL - help solving underlying problem

I have a website running the Photocrati theme version 4.9.3 on an AWS t2.micro running Amazon Linux. I use PHP 5.6 with php-fpm and a very recent version of Nginx, compiled with a couple of modules. I ...
3
votes
1answer
174 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 ...
5
votes
1answer
340 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 ...
0
votes
1answer
25 views

Is it safe to give wordpress directories ownership to www-data?

I am not server or security expert so please excuse if my question sounds odd. I am running wordpress site on ubuntu 14.04 with nginx server. I had a problem while installing new plugin, So I have ...
0
votes
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. ...
0
votes
1answer
107 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
73 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
28 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
0answers
58 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 ...
1
vote
1answer
28 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 ...
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 ...
0
votes
1answer
30 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
190 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
0answers
73 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
2answers
322 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
0answers
22 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 ...
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 ...
2
votes
1answer
145 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: ...
0
votes
0answers
65 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 ...
1
vote
1answer
34 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 ...
0
votes
0answers
102 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
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
0answers
27 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
1answer
164 views

Wordpress media upload “HTTP error”

When I try to upload an image, I get the following error: HTTP error. I know this problem has been solved hundred times but I can't find the right answer form my configuration. In the php.ini, I ...
0
votes
0answers
59 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 ...
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 ...
0
votes
0answers
51 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 ...
0
votes
1answer
96 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 ...
0
votes
1answer
51 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
0answers
124 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 ...
3
votes
1answer
323 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
62 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
2answers
380 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
66 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
1answer
246 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
59 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
26 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
247 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
95 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
134 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 ...
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
0answers
165 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; ...