Questions tagged [wordpress]
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
1,882
questions
1
vote
1
answer
2k
views
Wordpress with cloudfront , how to mask origin url
I'm facing an issue setting up wordpress with cloudfront.
I've set up all things fine, and it's working, but the problem is that when I send a request, the origin url is displayed in the address bar ...
0
votes
1
answer
1k
views
How To Prevent Admin-Ajax.php in Wordpress from crashing server?
So my 2GB RAM Linode machine keeps going out of memory and crashing randomly once or twice per day and I could never diagnose what the problem was. I just have a few low traffic Wordpress/Woocommerce ...
1
vote
2
answers
547
views
How do I change the username nginx/PHP creates files as
Is there a way in which nginx/php can be configured so it creates files with a specific user.
For example when a drupal/wordpress site uploads a file the user is assigned like:
john:www-data
nginx....
0
votes
1
answer
263
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 ...
3
votes
1
answer
2k
views
huge traffic from POST 123.249.24.233/POST_ip_port.php
222.186.129.5 - - [19/Jun/2015:16:56:28 +0000] "POST http://123.249.24.233/POST_ip_port.php HTTP/1.1" 301 184 "http://123.249.24.233/POST_ip_port.phpAccept: */*" "Mozi$
222.186.30.111 - - [19/Jun/2015:...
1
vote
1
answer
4k
views
Nginx reverse proxy and wordpress
Everything working well but I'm getting an issue with WordPress while I'm in the extensions page.
The problem is that plugin icons are not getting displayed and when I click on the plugin icons of ...
0
votes
1
answer
99
views
(VPS Cloud) Site goes down, htacces modified, i think due to high traffic [closed]
i have a cloud vps at ovh having 8GB of ram, a 6 vCores processor and installed Parallels Plesk 12 on Ubuntu 14.04 (64 bits)
I have more than 10 sites in there but only 2 have traffic
From histats:
...
0
votes
1
answer
1k
views
Why doesn't my .htaccess work on this VPS?
I have the following .htaccess file in /public_html/.htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{...
1
vote
1
answer
182
views
How to track down why apache2 processes are up for 45min / 1 hour or worse? NOT hosting, it's self managed VPS [closed]
I have a self managed VPS that I inherited from a previous administrator inside my Company, with lots of Wordpress websites running on it. The VPS has 2 CPUs, 6Gb or RAM and runs Ubuntu 10.04 64bit.
...
1
vote
1
answer
1k
views
Included rewrite rules not matched
With Apache, I'm trying to set up a rewrite rule which will be included in several virtual hosts. Actually, this rule file is included in 2 vhost.
The first vhost contains only this rewrite rule (and ...
0
votes
1
answer
53
views
Wordpress on stage environment with SVN
Currently we have this configuration for our website:
Stage environment. On this environment we use a connection to live DB and for code we use SVN.
Production/Live environment. Load Balancing ...
0
votes
1
answer
2k
views
ERR_SSL_VERSION_OR_CIPHER_MISMATCH on Ubuntu
I'm running wordpress on a Digitalocean VPS with cloudflare installed. My ssl was working perfectly till a few days ago when a buch of clients informed me they received the following error when ...
-1
votes
1
answer
361
views
Wordpress Site Broken After Updating Theme [closed]
If I leave out needed details, please tell me.
I'm running Nginx on Ubuntu 14.04 x64. I use php5-fpm.
Currently I am battling with my PHP installation, and it's causing a couple problems now. See my ...
0
votes
0
answers
301
views
Truncate URL's with Apache mod_rewrite
I am trying to strip incoming page requests to 25 characters after the year/month structure of the URL on my Wordpress server. Reason is, there are a number of external 404 links that I would like to ...
1
vote
3
answers
2k
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 3-...
1
vote
0
answers
126
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
1
answer
1k
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
1
answer
1k
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
1
answer
312
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 ...
0
votes
0
answers
495
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
1
answer
352
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
2
answers
286
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 *:...
2
votes
2
answers
1k
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 ...
1
vote
1
answer
2k
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
1
answer
201
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
vote
2
answers
881
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 (/wp-admin/)...
3
votes
1
answer
3k
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 ...
1
vote
0
answers
783
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
1
answer
145
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
3
answers
183
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
1
answer
51
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 ...
2
votes
1
answer
2k
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
1
answer
258
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
1
answer
1k
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;
...
1
vote
1
answer
167
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 ...
0
votes
1
answer
411
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 www....
1
vote
1
answer
114
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
0
answers
40
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 ...
4
votes
1
answer
4k
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
1
answer
426
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
1
answer
446
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 ...
2
votes
1
answer
3k
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 wp-login.php?...
1
vote
1
answer
2k
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 4....
0
votes
1
answer
866
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 ...
0
votes
1
answer
731
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 remove ...
-2
votes
1
answer
3k
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 koi8-...
0
votes
3
answers
15k
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 &...
3
votes
1
answer
11k
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 ...
3
votes
6
answers
3k
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
1
answer
795
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 ...