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
0answers
6 views

WordPress Nginx Browser Cache Expires on Extentionless URLs

Struggling a bit with the following. Adding expires for JS and CSS, plus other static files is easy: # Directives to send expires headers. location ~* \.(?:css|js)$ { expires 28d; ...
0
votes
1answer
18 views

Setup a very Basic DMZ for WordPress

We are thinking of switching our corporate website from externally hosted and designed, to an internal WordPress server. This is so we can maintain direct control, as well as run our own traffic ...
0
votes
1answer
19 views

Apache 2.4.12 Redirect Wordpress subfolder to another server ip address

I am running wordpress inside the laravel public folder which acts as the root of my site. How do I redirect to another server ip address i.e. (xx.xx.xx.xxx) when one accesses the following subfolder: ...
1
vote
1answer
19 views

WordPress in SubDirectory with Nginx

No matter what I seem to do, my WordPress site works great, including all permalinks, but I can not access the wp-admin area. Whenever I try to do so, I get a 404 error. I have WordPress installed ...
-1
votes
0answers
43 views

High CPU usage - How to track the process or ip causing it? [closed]

i am having issues with CPU high utilization, more than 92% . Is there anyway to track which plugin or process or user is causing this issue? I am using word press in windows Will usage of any ...
0
votes
0answers
19 views

Random Post on 404 url nginx

I'm having a funny issue on my Wordpress lemp instalation. Here's the thing: Lets suppose you have a url of example.com/category-of-shoes which leads to a post regarding such matter. When I type a ...
0
votes
1answer
29 views

Pound SSL Wrapper Wordpress Login Issue

my Setup is like this Visitor -> Pound -> Varnish -> nginx My Wordpress site is looking fine from the front end (with https), but as soon i try to login to the backend this error comes up "You do ...
-1
votes
2answers
41 views

Apache changing port issue

I have a problem with an Apache+Wordpress machine (Debian). By default it listens over port 80, I have changed it and now "listens" over port 9090. /etc/Apache2/ports.conf [...] NameVirtualHost ...
0
votes
2answers
32 views

wordpress on openshift custom domain “too many redirects” error [closed]

wordpress on openshift custom domain "too many redirects" error for wp-admin page, works on openshift default domain. My custom domain is: https://sesjau.tk/wp-admin . So I check siteurl and home in ...
0
votes
1answer
89 views

CentOS vs Ubuntu Wordpress server security

I am building out a new Wordpress server for a web developer redesigning my companies website. I originally decided to go with CentOS due to stability. However it appears based on the versions of ...
-1
votes
1answer
43 views

Is it a ok wordpress file or is hack, look at this code [duplicate]

I was facing a hack My website is not hosted on a server but shared hosting, If server is hacked I cannot do anything. My Question is not about how to safeguard the server, but is the below code is ...
-1
votes
0answers
15 views

Exports users from WordPress site into Active Directory [duplicate]

Is this possible, if so, how? It doesn't need to be in details but I am wondering if anyone could throw me a bone. : D Export user accounts from a WordPress site into a file. Import the file into ...
1
vote
2answers
80 views

500 Internal Server Error on Wordpress - BUT WORKS from a different country

MY MACHINE SPECS: I have a VPS (Location - Miami, 4GB RAM) running Centos and a LAMP stack. I have Wordpress installed on it with a SSL certificate. PROBLEM: Out of the blue, the admin ...
1
vote
1answer
88 views

No write permission for Wordpress under Nginx in CentOS 7

I have a CentOS 7 machine with Nginx running and the user is "nginx" (tghe default one in CentOS). I've installed Wordpress, which is working perfectly, and I've give wrtite permissions for nginx user ...
-3
votes
0answers
50 views

error 404 new installation of wordpres in localhost with nginx hhvm

I have problems with wordpress and nginx on localhost. The phpinfo test runs within the default folder nginx user,,,, When I try to install wordpres says, error 404 If I make a test page ...
0
votes
0answers
61 views

Nginx Varnish 4.0 SSL Wordpress configuration redirects mydomain.tld to https://127.0.0.1

I have the following stack: (redirect http to https =>) https nginx -> varnish -> nginx http -> php5-fpm When I open my.url.com I get instantly redirected to https://127.0.0.1 Without varnish, ...
0
votes
1answer
25 views

OpenShift for WordPress without WAMP and Git?

I'm considering moving a single WordPress site from a shared host to OpenShift. The entire OpenShift platform seems to revolve around development and deployment using git and special OpenShift ...
0
votes
3answers
39 views

How to decide on VPS good defaults for PHP and Wordpress when it comes to memory?

I have (only) 512MB to spare. The only thing running on my VPS is PHP/MySQL and on top of it Wordpress. No mail server or any other application, just Wordpress and LAMP stack. How to decide how much ...
-2
votes
1answer
21 views

How to redirect between Wordpress site using .htaccess if the origin has .html [closed]

How to redirect between Wordpress site using .htaccess if the origin has .html the first site i use permalink .html example: www.domain.com/articles/content.html if i'd like to use 301 redirect to ...
0
votes
0answers
27 views

Is this a PHP exploit being attempted on my site? [duplicate]

I found these entries in the error logs of my server: [Sat Apr 18 23:43:50.404367 2015] [:error] [pid 30269] [client 104.237.134.70:36344] PHP Warning: fopen(./crond): failed to open stream: ...
0
votes
1answer
33 views

How to set auth_basic for one file in NGINX? [duplicate]

Here is my config: server { #... location ^~ /wp-login.php { auth_basic "Restricted"; auth_basic_user_file /var/www/.htpasswd; } ...
0
votes
1answer
53 views

Wordpress Website now showing 404 Error? Can't fix [duplicate]

My website: www.kmskinboutique.com It is now showing a 404 Error warning on 1/2 the page (on the homepage & tabs). Nothing is missing - the warning just pushed my website down. I have searched ...
-1
votes
1answer
49 views

nginx 404 on wp-admin directory

Getting a 404 when access the /wp-admin/ folder. Any idea why? Here's the configuration file - upstream domain_http { server 192.168.1.2:80; } server { listen 192.168.1.3:80; ...
0
votes
0answers
41 views

Nginx: 2 domains on a single server

I have a domain already configured on Nginx (so far so good). Now I added another domain (domain2.com) to Nginx and when I try to access it, it directs to the first domain (domain1.com). domain1.com ...
1
vote
1answer
22 views

Understanding Stress Test Results

So I did a stress test on my Wordpress based website running on the cheapest Digital Ocean tier. I am using WP Super Cache for caching on the server end and Nginx as my web server. I am also using ...
-1
votes
1answer
61 views

Openshift Wordpress site custom domain name 'www' doesn't work [duplicate]

I use Opemshift to host my Wordpress site. I use a custom domain name for my site. I have also added an alias for www.example.com. I use Cloudflare for DNS and I have created a CNAME record for ...
1
vote
1answer
52 views

Apache2.4 mod_rewrite won't redirect me to subdir based on visiting domain

I have an Apache2.4 server with public dir in /var/www/html. In that dir I have a Wordpress site with this .htaccess: RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f ...
0
votes
0answers
26 views

Updating Content Specific Caching NGINX + Wordpress

somewhat new to setting up a web server. I am using a VPS from digital ocean with nginx installed to host a wordpress site. I am trying to play around with content specific caching rules and am ...
1
vote
1answer
59 views

Redirect root to WordPress subfolder under nginx

I recently got a VPS with nginx and moved my WordPress instance over. After some browsing around, I got permalinks to work. The blog is located inside a blog folder. I would like for requests to ...
2
votes
1answer
122 views

Wordpress converting http to https on Nginx + HHVM

I am trying to run Wordpress on Nginx + HVVM. It runs fine on Apache + PHP, but when I activate Nginx, most of the urls in the website get rewritten to https. Here is my website config: server { ...
0
votes
0answers
67 views

WordPress can't move files (Nginx, HHVM)

I have a WordPress setup using HHVM & NGINX on Ubuntu 14.04 that can't moves files when uploaded. Nginx is running as www-data. Files are all owned by deploy:deploy. Where www-data is a member ...
0
votes
1answer
65 views

Nginx: How to exclude a URL with a query parameter from htpasswd authorization

A wordpress site has its /wp-login.php protected with HTTP authorization using htpasswd. Web server is Nginx. Config for the same is given below. A URL associated with a plugin uses ...
1
vote
1answer
522 views

Nginx + HHVM + MariaDB + WordPress install -> Error establishing a database connection

I'm setting up a VPS for a WordPress blog. I'm using Ubuntu 14.04 LTS 64 bits and then I've installed Nginx 1.7.8, HHVM 3.6.0, MariaDB (don't remember the version). Finally I've downloaded WordPress ...
0
votes
1answer
83 views

Intermittent issues on iis 7.5 site running wordpress, internal error 500

This happened to a wordpress site that was working previously, the server is running IIS 7.5 on Server 2k8 R2 (fully patched). On the friendsofridingmountain.ca site, browsing through the pages will ...
-1
votes
1answer
62 views

SED multiline recursive find and replace [duplicate]

I have a large number of sites with the same bit of php inserted in all files that contain footer in their filenames. //###==### malicious code //###==### How to use SED or another command to ...
0
votes
0answers
26 views

Wordpress automatic update FTP configuration for Nginx

I am running Nginx 1.6.x on Ubuntu 14.04 with Php5-fpm I want to utilize automatic update feature in wordpress but not sure how to set up the FTP account for making use of it. I created a separate ...
-2
votes
1answer
97 views

nginx SSL not working (404 error)

On a CentOS 6.6 box I have nginx set to serve two virtual hosts. One for SSL and one for basic HTTP. /etc/nginx/default.conf: server { listen 80 default_server; server_name _; #charset ...
-1
votes
3answers
159 views

550 sender rejected - sender domain has no MX/A record. Different IP for MX & A Records [closed]

I have a website that has different hosting for website and email. I host the website and another company hosts the email and handle the domain. This is how the domain is set up: (The domain name ...
0
votes
1answer
77 views

Enable caching on nginx

I have my own VPS with CentOS 6 and nginx and I want to enable caching. To test it, if it is enabled successfully I use the Google PageSpeed Insight. My problem is that I don't have much experience ...
0
votes
0answers
76 views

403 Error When Mass Editing or Uploading Files to Wordpress

Installed Wordpress 4.1.1 fresh and created a new DB instance for it. When I upload more then 15 files at once or insert 20 or more files into a page I start getting 403 errors on all the backend ...
0
votes
0answers
210 views

Wordpress and PHP-FPM slow

I cannot find answer elsewhere. I have plain vanilla Wordpress installation. No posts. Database completely empty. Server 1 is nginx + php-fpm Server 2 is mysql nginx & php-fpm set-up according ...
0
votes
1answer
114 views

Public and Private keys incorrect for user

I've followed this tutorial (which worked for me on several VPS's) to configure a secure way to install and update themes and plugins in Wordpress. Basically: sudo adduser wp-user cd /var/www sudo ...
0
votes
1answer
83 views

CentOS email setup for Wordpress

I am moving an old Wordpress install to a new CentOS LEMP stack VPS. I want to set up email for the new VPS. It came with sendmail installed by default but I find it to be overkill. I just need a ...
0
votes
1answer
53 views

WordPress permalinks are not working

I am having a problem with WordPress permalink redirects not working correctly. I was able to specify the permalink convension through settings interface. WordPress properly names hyperlink. However, ...
0
votes
0answers
43 views

Wordpress low-level mkdir() call failing, despite correct file permissions

When trying to install a theme in Wordpress, I get this error: The file ownership and permissions are correct: # ls -l /var/www/ total 4 drwxrwxrwx. 6 nginx nginx 4096 Feb 24 09:35 wordpress ...
-1
votes
1answer
80 views

Wordpress is unable to write files, despite correct file permissions [closed]

I am unable to automatically install plugins or themes on my new wordpress setup. It gives me this screen: I believe this is usually due to a write permission error on the wordpress directory. ...
0
votes
0answers
17 views

Openshift wordpress non www to www redirect via .htaccess [duplicate]

I am running wordpress on openshift, i want to make non www to www redirect. I have read this answer. I have added .htaccess file into .openshift/config directory. My .htaccess contains following ...
0
votes
1answer
87 views

Wordpress category links are not working on an Nginx server

I just configured a new server to move my website. After I migrated, everything works fine except for category links. If we visit a category, it will give a 404 error. Page permalinks are working ...
0
votes
0answers
32 views

Wordpress admin access and user access with same domain with different A records

I am trying use wordpress with multiple server one for admin access and other for user acess, Admin posting will be synced to users server regularly, here I am facing issue with the domains I am ...
0
votes
1answer
92 views

NGINX, PHP5-FPM, Varnish. WP-Admin becomes unresponsive after a while

wp-admin becomes unresponsive after like 10 hours of not being logged in. In order to get it working i need to restart php5-fpm. I'm using NGINX with PHP5-FPM and Varnish. This is my settings: ...