Wordpress is an open-source blogging & CMS platform. Questions about using WordPress, developing plugins and themes for WordPress, etc., may be welcome at our sister site wordpress.stackexchange.com

learn more… | top users | synonyms

1
vote
2answers
1k views

Varnish 4 Working Config (optimized) for Wordpress (default.vcl)

I have successfully set up varnish 4 on my nginx 1.6.2 it is working but as per the test on http://www.isvarnishworking.com/ it shows Varnish appears to be responding at that url, but the ...
0
votes
1answer
25 views

Nginx caching pages for logged in WordPress users (and showing admin bar to visitors!)

I have setup nginx with caching in WordPress. I am using the https://wordpress.org/plugins/nginx-helper/, however it seems the logged in page is being cached when it should not be (hence showing the ...
1
vote
0answers
16 views

Large RSS feed requests to non-existent URL causing 404 (and high load)

Recently I had a new site launced completly replacing a previous site. We have cloudflare in front and switched the host-name to the new site IP. Instantly we saw load go above 200+ and a constant ...
4
votes
2answers
3k views

Nginx + PHP-FPM Timeouts, almost zero load consumption?

I've got a server running on a Linode with Ubuntu 10.04 LTS, Nginx 0.7.65, MySQL 5.1.41 and PHP 5.3.2 with PHP-FPM. There is a WordPress blog on it, updated to WordPress 3.2.1 recently. I have made ...
1
vote
2answers
40 views

nginx not caching wordpress site

I have a website set up to use nginx caching. Here are the details: fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=MYAPP:100m inactive=60m; fastcgi_cache_key ...
1
vote
1answer
10 views

How can I get Wordpress to function under a Debian LAMP stack?

I am working on publishing a Wordpress blog. I say "working on publishing," because when I came to a point of saying, "This is great; I want it to showcase my website", Wordpress seemed to stop ...
0
votes
0answers
10 views

Varnish configuration advise

I am having a few issues with my VPS. Something happened on it which my hosts are unsure of and so I am having to go through an ordeal to try and reconfigure a few things. One of those things are ...
0
votes
0answers
16 views

InnoDB causing mysqld to crash on Amazon Linux AMI

This Amazon Linux server is running a single WordPress site that is constantly crashing. The way to resolve it seems to be to run service mysqld restart and it resumes operation until it crashes ...
0
votes
0answers
17 views

Cannot Upload Files Over A Specific Size to Wordpress

When uploading larger files to any WordPress site running on a local server it fails. If I try outside of the network it works fine, if I switch to the other LAN network running and connect to the ...
0
votes
1answer
37 views

how to restrict access to wp-login.php by IP address on nginx

I have the following configuration for my wp site which is running on nginx 1.8.1 location ^~ /wp-login.php { allow 10.0.0.0/24; deny all; } location ~ \.php$ { try_files ...
0
votes
1answer
46 views

PHP 7 cannot connect to MySQL

I have compiled LAMP servers for hundreds of times. However I am facing issues with PHP 7. I compiled it properly, but it cannot connect to MySQL in localhost. phpinfo shows PDO and mysqli are ...
2
votes
3answers
2k views

Centos MySQL optimization 4gb ram

I am using Centos 6 64bit on vps with 4gb ram. 1 wordpress website and 2 wallpapers script websites. Wordrpess have 10k visits daily. Site is slow. My.cnf # Example mysql config file for large ...
0
votes
1answer
28 views

My Apache seems to be connecting to other servers?

I've been having issues where my Apache webserver was using up memory and bringing down the server. I increased the available memory, but now it reaches its connection limit. Having a look at the ...
0
votes
1answer
20 views

404 header error instead of the correct 200

I have just updated a (dynamic) website by sftp/ssh and all the new pages have been considered as 404 error not found. Actually, all the pages, including the old pages which was overwritten. Also, ...
-3
votes
1answer
19 views

php5-fpm works for a bit and then stops (nginx/wordpress) [closed]

I'm running wordpress on an nginx/php5-fpm setup and every few minutes, php stops working. When someone tries to subscribe, it works at first and then it stops and takes the user to a 500 server ...
0
votes
1answer
36 views

Wrodpress DDOS /xmlrpc.php

This is what my nginx access.log looks like as I write this times infinity: 127.0.0.1 - - [19/Jan/2016:00:59:36 -0500] "POST /xmlrpc.php HTTP/1.0" 499 0 "-" "Mozilla/4.0 (compatible: MSIE 7.0; ...
-1
votes
1answer
21 views

Change URL in Nginx Config

How can I change url to go to only one location rather than request coming from. URL : www.example.com/blog is going to /var/www/blog (which is correct) www.example.com/blog/abc should go to ...
0
votes
1answer
22 views

Wordpress Subfolder issue with Nginx Configuration

I am using wordpress and it's a multi-site subfolder config. - www.xyz.com is pointing to /var/www/project (Working) - (Wordpress blog) www.xyz.com/blog is pointing to /var/www/blog (Working) - ...
0
votes
1answer
29 views

PHP.ini file causing WordPress site to crash on Windows IIS

I'm running WordPress on Windows IIS (GoDaddy Hosting). The website was created using Visual Composer, which requires an increase in the memory limit. The website is also installed in a subdirectory ...
0
votes
2answers
35 views

NGinx + Wordpress at sub URL converts domain to localhost

When I go to http://niklasrosenstein.com/blog everything is fine, but if I click on a link or go to some page lik http://niklasrosenstein.com/blog/shop I end up on http://localhost/shop. What am I ...
0
votes
1answer
23 views

Stop CloudFront from serving whole website

I've followed a guide to set up CloudFront to use as a CDN on my Wordpress website. It was done using this guide. Everything that WP Super Cache specifies is served by CloudFront however if a user ...
0
votes
0answers
17 views

How to Diagnose Random “Error establishing a database connection” with WordPress

I maintain a Linux VM in Azure which contains one MySQL instance and 8 databases within that instance. Each database is used by a WordPress front end also hosted in Azure App Services. When using my ...
1
vote
0answers
22 views

Enable SSL on wordpress site hosted on Azure

I have a website running on Azure and its a wordpress site. from the Azure Documentation what they say is to just copy and past the example in web.config file <?xml version="1.0" ...
0
votes
2answers
1k views

Enable Cross Origin Scripting on Nginx from retina.js to load files from another URL?

Im running a retina image plugin along with W3 Cache for CDN support. W3 cache moves images to S3, but the JS file won't server the files from there due to the difference in URL (it goes from h ...
4
votes
1answer
42 views

Nginx HHVM Wordpress issue with PHP Execution in one intermediate subdirectory

I have a weird situation with one of my websites, still in development in AWS. I have nginx 1.9.9 with HHVM 3.6.6-1.amzn1.x86_64 on a t2.micro. It's not publicly accessible. I have a custom written ...
0
votes
1answer
71 views

Nginx fastcgi_cache not working for one WP site (but working OK for time.php on different vhost)

I am running Ubuntu nginx 1.8 with fpm php 5.5, on one site I am able to get cache working (with a simple time output) <?php echo time();?> shows: Connection:keep-alive Content-Encoding:gzip ...
0
votes
1answer
62 views

How to change loading order of domain and subdomain name on nginx?

I have enabled Wordpress Multisite with subdirectory on VPS nginx server. I also have roundcube & postfix running. The URL to access mail is webmail.mysite.com. The problem is webmail.mysite.com ...
0
votes
1answer
23 views

Wordpress website consuming huge bandwidth on 404 pages

I am running a website on Wordpress and there is a lot of bandwidth consumption because of hits on 404. image showing the url being targeted to generate 404.. I am sure that the url ...
0
votes
0answers
30 views

Migrated wordpress multisite to ubuntu with nginx - resources not found

I recently moved my wordpress multisite install from shared hosting to a could ssd server running ubuntu, I also changed it to run with nginx. Everything is working fine, except that a handful of ...
0
votes
1answer
32 views

Changing URL of Wordpress Multisite Blog using Nginx - proxy_pass? Location with regular expression error

I've set up a Wordpress Multisite (aka WPMU) instance on AWS to serve my four blogs, which are all currently single site installs. Three of the blogs run on the domain root, but one needs to be served ...
0
votes
1answer
16 views

Wordpress SSL switch/rewrite base on request (fixing insecure content)

I have a small Wordpress site to share my hobby. My webhost is SSL enabled and I successfully set the "force SSL login" option. But because I started without SSL there are mixed protocols in the ...
0
votes
1answer
30 views

Memory problems in a Wordpress Multisite Ubuntu Server

I have a server with 512MB RAM and 512MB swap file hosting a Wordpress multisite (8 websites). Not many visitors per day (about 50-100 per site per day). Right now, everything is working fine, and ...
2
votes
2answers
107 views

CentOS 7.2, PHP 5.4 - MySQL extension is missing [closed]

I'm trying to install a Wordpress blog on my Linux server (CentOS 7.2), using PHP 5.4 and MariaDB, but I keep running into this error: Your PHP installation appears to be missing the MySQL extension ...
0
votes
0answers
26 views

Through Nginx how we can hide a part of url?

We are using a WordPress application with Nginx as web-server. Currently we are accessing profile page as http://geo.mysite.com/members/geouser/ and is working fine. Can anyone please help me to ...
0
votes
0answers
151 views

SSL server: Unable to get local issuer certificate (Let's Encrypt)

As the title says I'm having some problems with my https connection, it was working perfectly but now (2 weeks after) I was installing the Jetpack plug-in on my wordpress site when I got an IXR ...
0
votes
1answer
58 views

Can't get files uploaded by php on Apache virtualhost

A couple of weeks ago i got the idea that i should host a Wordpress blogg on my VPS under a different domain name. I set up my virtual host following a guide i found on digital ocean tutorials How To ...
-1
votes
1answer
93 views

Centos Server with Apache hacked - Removed files but still showing compromised by Google [duplicate]

It's desperate times for me/us in trying to figure out what's going on. We have been hacked recently and lost our rankings/traffic due to google posting a message saying "This Website May Be Hacked". ...
0
votes
0answers
40 views

Cross Origin Resource Sharing (CORS) Issue

I apologize in advance for no links - I am new to serverfault (Not StackOverflow), and don't have enough rep to post more than 2 links. We host our main Magento site on Nexcess at ...
0
votes
2answers
28 views

Is it possible to recover emails sent from SMTP?

So basically I have a contact form on my site. I just realized that the contact form didn't forward responses to my email because I didn't have sendmail installed. Is there any way for me to recover ...
0
votes
0answers
29 views

Wordpress showing article title, but content is showing blank

I recovered from a disaster situation on the server, database is not affected. My wordpress files were old, from previous version (maybe 4.3). When I recovered those file and setup nginx with it, I ...
4
votes
3answers
5k views

Endless Redirect Loop with AWS ELB and wordpress site using wordpress https plugin

I have configured an AWS ELB to point to my Ubuntu Server running the Wordpress 3.2.1. Everything worked great on the server until I put it behind a load balancer. I setup the load balancer to ...
0
votes
0answers
47 views

Nginx upstream configuration always giving 404

I am setting up nginx for a website and I want it to route to 3 locations - the main frontend server, api server and to the wordpress blog server. I can get it working for the frontend server and ...
0
votes
0answers
13 views

.htaccess syntax RewriteEngine on

I'm learning to maintain my own WP site. After a lot of reading I ended up with my "complete" htaccess file that looks something like this DirectoryIndex index.php # Disable directory listings ...
2
votes
2answers
146 views

Redirect 12,000 pages from SPIP to Wordpress

I'd like to switch from SPIP to Wordpress and redirect all SPIP's URLs to Wordpress ones. The format for an SPIP URL is: example.com/spip.php?article{ID}, for example: example.com/spip.php?article123 ...
0
votes
3answers
678 views

hhvm + nginx + wordpress - upload issue

I installed nginx 1.7.12 + hhvm 3.7.0 + wordpress 4.2.2 on digital ocean droplet. I am trying to upload a theme that is 17 mb. While uploading, after exactly 30 seconds the upload restarts itself ...
0
votes
2answers
22 views

Mix static files into WordPress

I'm migrating a previously-static site to WordPress 4.3.1. Most things are working fine, but I have one odd case: I need example.com/foo/ to be dynamic, but I need example.com/foo/bar/ to be static. ...
1
vote
3answers
2k views

Port number being added to WordPress admin after Varnish install

I added Varnish in front of nginx. When I try to login to WordPress, I go to domain.com/wp-admin but I'm now redirected to domain.com:8080/wp-admin. I can manually remove the port and the admin side ...
-1
votes
1answer
57 views

Can I use the following Fail2ban jail with my wordpress on nginx server?

[nginx-noscript] enabled = true port = http,https filter = nginx-noscript logpath = /var/log/nginx/access.log maxretry = 6 It is advised to not enable [nginx-noscript] jail, if server is ...
-1
votes
1answer
53 views

how should i exclude certain .php URLs from being loaded through SSL?

recently i activated flexible SSL on my wordpress website,but i wish to load certain .php URLs through simple http, ones like: thankyou.php and contact.php ,and a few others, what code should i add to ...
-1
votes
2answers
38 views

Every page turns my url into an IP address (Ubuntu Web Server)

This can probably be fixed quite easily. I tried to research and find the answer to this but couldn't find anything relevant. Basically, I can access my website perfectly through its url. (ex. ...