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,880
questions
0
votes
0
answers
83
views
How is nginx IP defined for remote requests from a server?
I have 2 websites on the same server using the same version of WordPress. They both make calls to /wp-cron.php from the server itself. They are both managed by nginx and have very similar setups.
When ...
0
votes
1
answer
53
views
Server settings to improved Wordpress backend speed
You know how it is, caching plugins only make the front-end move faster but when you're logged in and browsing the wp-admin section, the Wordpress site grinds to a halt. I'm trying to increase some ...
1
vote
2
answers
505
views
Wordpress Website is Broken When Migrating to NGINX
I recently migrated by WordPress website to NGINX, from apache2. I installed PHP-fpm, PHP-cli, and the other required PHP packages for NGINX. The site worked fine, but after clearing the cache (I use ...
1
vote
1
answer
476
views
.htaccess Redirect 301 - Single pages work fine, homepage doesn't
I'm trying to redirect some specific pages to the new ones on my new site (these redirects work fine) and, finally, my homepage OR (even better) my homepage and all the pages which I didn't redirect ...
0
votes
1
answer
247
views
Hosting a GCP instance on a WP Subdomain
I have a custom domain (mydomain.com) hosted on Wordpress.com. I also have a Mautic instance hosted on Google Cloud (GCP). How do I make my Mautic instance ride on a subdomain (mautic.mydomain.com)?
1
vote
0
answers
20
views
Public WordPress Website unaccessible from inside active directory with same domain name, but simple html file is accessible
a client uses the same corporate domain for his internal network / office365 installation as for the public website.
The website and domain are hosted on a shared host, the site is serviced by me. ...
0
votes
0
answers
108
views
IP/DNS inaccessible after IP address changed for Wordpress on Ubuntu VPS
I deployed a website on a VPS with AWS Lightsail. Everything was working fine until I got an issue that made me restart the server. The IP has changed. And now it redirects to the old IP when I get to ...
0
votes
0
answers
24
views
Moving a Wordpress site created by a non-cooperative firm
My boss hired a firm to create a website for an organization. My boss knowing very little about computers/IT in general just assumed that they would create a site and then hand it over to us and we ...
0
votes
1
answer
456
views
Using browser to run PHP file outside www directory - get public website "page not found" instead
I have a virtual private server on which I run two different WordPress websites.
I am now trying to install SuiteCRM on the same server. Following the SuiteCRM instructions, I've unzipped SuiteCRM ...
0
votes
1
answer
57
views
How do I not lose my Rackspace emails when I use WordPress DNS?
I use Rackspace for my email currently and would like for WordPress to host my website. When I pointed the DNS to WP, I lost my emails in Rackspace. When I pointed the DNS back to where it was ...
0
votes
0
answers
382
views
Speed Up Self Hosted Wordpress Website
I have a DL360 G8 rack server, and I decided to self host my website on it, (on a virtual machine of course). The server itself is pretty kitted out, with dual xeons, Raid 0 drives, and 32 GB Ram (6GB ...
0
votes
1
answer
1k
views
Nginx - Setting cache-control headers for dynamic content
We are trying to implement cache-control headers for dynamic files, specifically WordPress.
For example, a sitemap generated by a plugin domain.com/sitemap_index.xml
The sitemap_index.xml doesn't ...
0
votes
0
answers
332
views
Nginx with wordpress serving blank pages
Title; I get served a blank page with a 200 status code in my logs and no body after the webpage successfully loads. Here is my config file:
root var/www/sitename;
index index.php index.html index.htm;...
1
vote
1
answer
3k
views
Optimizing MariaDB Performance
I need a different set of eyes checking my MariaDB settings. During peak load times, the CPU can hit upwards of 600% or more, and slows down Wordpress application. I have used MySQLTuner to tweak a ...
0
votes
2
answers
403
views
Custom Ubuntu/Apache docker image in Azure App Service is using IIS?
I have a mystery. So I set up an Azure Web app on Linux that pulls from a custom docker image stored in Azure container repo. The dockerfile for the image is pretty simple - ubuntu:latest as the base, ...
-1
votes
1
answer
2k
views
Error establishing a database connection in Google Cloud Platform Wordpress site [closed]
Since 14.2. my site is giving this error:
Error establishing a database connection
I have a Wordpress site at Google Cloud Platform ID XXXXX-XXXXX-XXXXX
I have not changed anything for several months,...
0
votes
0
answers
54
views
Redirect Nginx to a Wordpress running behind apache2 server
I have a unique problem that I don't how to put in and I can't change the situation (orders from above!). Please read it all before down-voting me.
In this scenario, I have two servers, Server A and ...
1
vote
0
answers
24
views
What consumes server CPU? (HostGator)
So, I've had a site on HostGator that was being maintained by somebody else for a bunch of years and now I'm taking care of it, trying to learn how to maintain it and such.
When trying to access the ...
0
votes
0
answers
389
views
Copy files from city web cam to WordPress site
Have a user that would like to copy city webcam images showing day by day construction of their building, then house those copied images on their WordPress site.
The URL is always the same http://www....
0
votes
2
answers
2k
views
Unable to connect to Docker WordPress after setting Site Address
I'm launching a Docker container for WordPress following this tutorial. I'm running this on a machine that is at my desk, I have complete access. It is running Ubuntu 20.04.
Here is my docker-compose....
0
votes
1
answer
674
views
Use a different PHP Upstream based on arguments in the URL - NGinx
I run Nginx and PHP-FPM. Nginx runs under www-data and PHP-FPM runs as a separate user for each website. I use Nginx FASTCGI Caching and use the Nginx Helper plugin for WordPress. Unfortunately due to ...
1
vote
1
answer
3k
views
Wordpress-MySQL connection issue with Docker
I'm having trouble getting WordPress to talk to a MySQL database once I moved it behind a linuxserver/swag container to enable https.
I'm using Docker version 20.10.2, build 2291f61 and docker-compose ...
1
vote
0
answers
92
views
WordPress+HTML -> Moodle
One has a site with a lot of (a lot of a lot of) pages in HTML. The pages are managed through WordPress and includ motions, different fonts, videos, images, etc., ie, are elaborated pages.
Because of ...
1
vote
2
answers
3k
views
Is it possible to redirect a subdirectory to another server while keeping the domain name
We have a working website under the domain x.domain.tld. We want to add a wordpress to it in such way we have x.domain.tld/blog but install it on another server so we don't touch anything on this old (...
1
vote
2
answers
1k
views
What am I doing wrong to receive Loopback and REST API WordPress Errors? [closed]
I've taken a dive into self hosting and learning along the way. I have a decent understanding of most of it. It only took me a day to cobble together a "working" NGINX, MySQL, PHP, ...
0
votes
0
answers
28
views
Smtp email on wordpress
The email sistems was working well but it beggun to have a mistake, it doesn´t send emails, support told me is a host provider problem, and the smtp show me this screen
enter image description here
0
votes
0
answers
463
views
Wordpress running on Nginx Loadbalancer error "The page isn’t redirecting properly"
So I have this setup for my wordpress.
All servers run on Centos 7
MariaDB 10.4.17
Php-FPM 7.4
PHP 7.4
NginX
Server 1, the Front Load Balancing server
Server 2-3-4 the wordpress application served ...
1
vote
0
answers
100
views
How to get Azure File Share to work with Wordpress multisite domain mapping when file share mounted to wp-content to resolve eorror 520
I am getting an error 520 on my images from sub-sites that domain mapped in wordpress. I am running azure file share with an azure vm that I plan to expand to more vm's. The File share is mounted to ...
2
votes
0
answers
235
views
How to configure Wordpress in its own directory using nginx and php?
I have a VPS I'm trying to configure to run a Wordpress site.
I also want to run a NodeJS app on it.
Here's what I'd like to do:
The NodeJS location:
/var/www/domain/public_html/webapp
Initially I ...
0
votes
1
answer
76
views
Nginx fastcgi_cache and kokos-analytics wordpress plugin
I have setup nginx to cache page requests as described in this tutorial.
There for looged in users the caching is disabled in this tutorial by an if request as:
# Don't use the cache for cookied ...
-4
votes
1
answer
390
views
Wordpress Linux on Azure marketplace doesn't working
Right after the installation the server always returns the error 502 Bad Gateway - nginx
This is the log
2021-01-07T01:01:29 Welcome, you are now connected to log-streaming service.
Starting Log Tail ...
0
votes
0
answers
51
views
Multiple LEMP/Wordpress Websites: one server for each site or all of them in one server?
My company develops and maintains Wordpress websites for small non-profits. Currently, we develop and maintain around 20 sites, all of them with low traffic.
All sites are hosted in one VPS, using ...
1
vote
0
answers
23
views
Website unavailable after resuming VM Instances
I use GCP to host my company wordpress website. I originally had the "free" trial for the first 3 months. When it ran out, my website was disabled. So after paying my charges on Monday, I ...
2
votes
1
answer
86
views
WordPress Issues with Cloud Compute
I'm very unfamiliar with Google Cloud Hosting so apologies for my ignorance. I spun up a VM with Wordpress on it and pointed my DNS to the IP. The machine was shut down and when came back up was ...
2
votes
1
answer
428
views
Apache rewrite proxy only homepage
I've tried various regular expressions (^/$, ^index.php$, ^$) to rewrite/proxy just the homepage of a WordPress website through .htaccess. For the record I have the appropriate modules loaded to ...
-1
votes
1
answer
418
views
My website hosted on Linode via Serverpilot is down after performing a reboot
I shutdown and powered on my linode server that I setup via Serverpilot because it was going online and offline. However, since the reboot I am unable to access my website.
I can access files via FTP ...
0
votes
2
answers
1k
views
My Google Cloud Platform Website stopped working
It may be a rookie mistake, but I don't know who else to turn to.
I have a Wordpress Bitnami, hosted on Google CLoud Platform.
It is the only instance on my account.
I was working on editing a ...
1
vote
1
answer
2k
views
.htaccess multiple 301 redirects
I am moving a blog hosted on an Apache server to a new domain.
The permalinks are kept the same for the blog posts but there are a few pages where the url slug will change on the new domain.
My ...
1
vote
1
answer
403
views
Apache FilesMatch (global config) priority over local .htaccess
I want to protect all Wordpress admin interfaces (wp-login.php/wp-admin) in my server. To do this, I want to create a global config in Apache, asking for a fixed user/password (HTTP basic ...
0
votes
2
answers
566
views
Tool to create pre-compressed [Brotli] files
I am trying to pre-generate compressed brotli files in designated directories for static html, css and js files.
I found a rust tool here – https://github.com/neosmart/static-compress
Besides this, ...
0
votes
1
answer
866
views
403 redirect not working .htaccess
I want to block users from India from the website and redirect them to a custom 403 page. Here's the code that i placed in .htaccess file:
ErrorDocument 403 /403.html
deny from 1.6.0.0/15
deny from 1....
1
vote
0
answers
824
views
AWS EFS plus PHP painfully slow possible alternatives?
i built an highly available and fault tolerant Wordpress site on AWS Cloud,
i using ubuntu 20.04 and apache2.4,
/var/www/html is mounted on EFS filesystem configured whit provisioned troughtput at ...
0
votes
1
answer
2k
views
Nginx ERR_TOO_MANY_REDIRECTS by adjusting WordPress Permalinks | 301 Error Ubuntu 18.04
OS: Ubuntu 18.04.5 LTS (having my own VPS)
WebServer: Nginx/1.18.0
MySQL: mysql Ver 8.0.22 for Linux on x86_64 (MySQL Community Server - GPL)
WordPress: 5.6
When I change the Permalinks option in ...
0
votes
1
answer
265
views
Wordpress and nginx all pages works fine except for non-existent .php
I configured my WordPress website on Nginx and everything works fine but for non-existent .php pages Those return the nginx default 404 page not found why?
# listen 443 ssl default_server;
# listen [::...
0
votes
1
answer
86
views
Our WordPress Auction Website increases CPU Spikes hosted in dedicated server
We have hosted our WordPress website in the dedicated server(CENTOS 7.9 kvm [server]) with 8 CPU. Our website is auction based website. So normally 20 auctions will be in live.
But our website reaches ...
0
votes
1
answer
373
views
How to run a Wordpress-CMS and an Angular 9 distribution in one domain?
I'm trying to install my Angular universal app and my CMS in a single domain. Therefore I would like to put the CMS (which is Wordpress) in a subdirectory.
My current directory structure looks like ...
0
votes
1
answer
3k
views
How to get phpmyadmin to work with both a reverse proxy and a plain IP:PMA_PORT connection?
I have a kubernetes cluster configured as follows:
nginx+wp[:5050] <-- redirect 307 /wp nginx[:80:443] /pma rev_proxy --> nginx+pma[:5000]
All services share a common external metallb IP. I have ...
0
votes
1
answer
161
views
Error establishing a database connection on a fresh Wordpress installation
I've installed a fresh copy of Wordpress on CentOS 7/Apache but am getting the dreaded "Error establishing a database connection" error message when navigating to the site to complete the ...
0
votes
1
answer
178
views
My Google Cloud Compute Engine Wordpress based website keeps askiing for more cpus and more memory - GBs of it
I have a website that has had about the same traffic all year, yet on the GC Compute Engine page it keeps asking for more and more resources. Right now it has
n1-highmem-16 (16 vCPUs, 104 GB memory)
...
0
votes
1
answer
701
views
apache server responding 403 to some clients, for a wordpress site
I rented a barebone server, installed Centos 7, then centos web panel, with server set to apache only, using apache 2.4.4x and php 7.
I set up a wordpress site on one of the vhost, after editing for a ...