Questions tagged [wordpress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

File Permissions for XAMPP (WordPress)

I tried this: cd /opt/lampp/htdocs/ sudo usermod -a -G daemon john sudo find . -exec chown john:daemon {} + sudo find . -type f -exec chmod 664 {} + sudo find . -type d -exec chmod 775 {} +cd <-...
user avatar
0 votes
1 answer
38 views

WordPress site broke when updating to php 8.0

I am hosting a WordPress website on Debian 10. I just installed php8.0. When I a2enmod php8.0, the WordPress site breaks entirely. On Firefox I get the following message: Secure Connection Failed An ...
user avatar
  • 11
0 votes
0 answers
10 views

Authenticating to WPMU DEV plugin dashboard from WP CLI

I have installed wordpress and WPMU DEV plugin via WP CLI. I need to authenticate and add my website to WPMU DEV dashboard. it would be great if some one could help me on this. Thanks
user avatar
0 votes
0 answers
26 views

Blog's URLs not lining up with Debian Wordpress config

I'm having trouble with my current Debian Wordpress configuration. Wordpress has no issue reaching the correct the wp-content directory locally, but the URLs to myblog.com/wp-content/../../ are ...
user avatar
  • 1
-2 votes
1 answer
261 views

How to tell rsync to fetch files (fails with "No such file or directory")

sudo rsync -avP ~/wordpress/ /var/www/html/ Error receiving is: sending incremental file list rsync: change_dir "/root/wordpress" failed: No such file or directory (2) sent 20 bytes ...
user avatar
0 votes
0 answers
8 views

WordPress Related Posts with complex nesting queries

Searching everywhere and can't quite find what I need. I don't think this is super complicated, and I think I'm close, so hopefully something can help get me the rest of the way there. This is for a ...
user avatar
0 votes
0 answers
57 views

SymLink to WordPress themes folder doesn't seem to work

I am trying to build myself a custom WordPress theme using underscoretw. Theme location is: /home/j/code/mechanic360/wordpress_theme/mechanic360/theme And the nginx powered, local WordPress site sits ...
user avatar
  • 275
0 votes
0 answers
27 views

How to write NGINX configuration for wordpress and legacy files

I want to serve files from wordpress and legacy static files from a directory. For example I want to serve wordpress home page / and wordpress files such as wp-login.php and newly created wordpress ...
user avatar
0 votes
0 answers
55 views

Nginx blocking Wordpress plugin update

Nginx seems to be blocking the update of some plugins like revisionary (used to do so with translatepress too but didn't the last time) by locking some strange files inside the plugins directory. The ...
user avatar
0 votes
0 answers
204 views

Wordpress site has been hit with gutenblock-64/stealth process

The process has been taking up a lot of resources and has been sending DDos(?) to other sites. It ran under as www-data. What it does : it downloaded under wordpress's wp-content folder and run ...
user avatar
  • 101
1 vote
0 answers
25 views

Gzip compression not enabled

Our wordpress website we need to enable gzip compression we followed below instruction to enabled. we have wp rocket plugin this plugin automatically added compression mode_deflate lines in .htaccess ...
user avatar
0 votes
1 answer
16 views

Remove exact specific code across multiple php files

I have malware links at bottoms of all my WordPress footers. I need a better method to mass remove the following across multiple footer.php <?php /* Always have wp_footer() just before the ...
user avatar
  • 1
0 votes
2 answers
43 views

Apache+Wordpress: How to add http://localhost:3002 page as https://mydomain.com/anotherpage

I have single Wordpress webpage on LAMP server. It's running perfectly. I am very newbie to networking and www, I don't want to break my page which serves as eCommerce and brings me income. My webpage ...
user avatar
-1 votes
1 answer
207 views

Remove all hidden files except specific files

I have a vps server that had been attacked with a virus which keeps injecting many hidden files. How can I delete all hidden files in directories and sub directories of the public_html folder, except ...
user avatar
0 votes
1 answer
44 views

wp.cli and sendmail not working via cron but do work when manually run

Not sure if this belongs on Wordpress Stackexchange or here. I think here as the last line in my code is not Wordpress specific. I have the following code in a .sh file which I run weekly using Cron. ...
user avatar
1 vote
0 answers
71 views

WordPress error: Download failed. Destination directory for file streaming does not exist or is not writable

So I have just taken over managing a client's website and I am running into the error in the title whenever I try to update WordPress or install/update plugins. So far I have tried creating a new temp ...
user avatar
  • 11
0 votes
1 answer
54 views

Linux host wordpress file upload size limit still 2MB despite all solutions online

I'm struggling to increase file upload size on my linux machine where I host my wordpress website... Things I tried and that are still active: .htaccess php_value upload_max_filesize 64M php_value ...
user avatar
0 votes
0 answers
398 views

How to fix this Error: HTTP ERROR 500 and chcon: can't apply partial context to unlabeled file for WordPress

I am trying to correct this piece of code but I have an error and the code doesn't executed. I would like to use a Public IP to run WordPress as well. The problem is that I can't run sudo chcon -t ...
user avatar
0 votes
1 answer
604 views

500 error on index.php with nginx + php-fpm

Before starting, I'd like to ssay this is my first experience with VPS, I have an Ubuntu 18.04 64bit minimal server. For everything I tried so far I didn't tried using complex application. Just plain ...
user avatar
0 votes
1 answer
721 views

Cron Error: No such file or directory

Looking for some guidance around setting up a cron job to run every 15 minutes that sets off a script within the WordPress Plugin Amelia. According to their docs, I need to add the following line to ...
user avatar
0 votes
1 answer
116 views

What is the cause of the bad performance of NGINX / PHP which host only 1 Wordpress website

I spawned a LXC container on our (Proxmox) hypervisor (we run multiple containers on it without any performance issue). I installed NGINX and PHP7.4 on it and host (currently) only 1 Wordpress website....
user avatar
  • 181
0 votes
0 answers
278 views

Ubuntu 14.04 - How to update to the latest version of PHP in order to run WordPress 5.4.1

I'm currently running Ubuntu 14.04 and trying to use the latest version of WordPress v5.4.1. When trying to run my WordPress site, I'm receiving the error: Your server is running PHP version 5.5.9-...
user avatar
  • 101
0 votes
0 answers
35 views

Can't get cookie free domain working for my WordPress page

I'm trying hard to get my cookie free domain working for my WordPress installation. I've followed a lot of tutorials but I still get no content over the new cookie free subdomain. These are my steps: ...
user avatar
  • 203
0 votes
1 answer
229 views

detect cms from list

my marketing department wanted from me detect our domains for that if they use Wordpress. I have our huge list of domains, but I can't find proper cms detector which will just save which domain has ...
user avatar
  • 338
2 votes
2 answers
157 views

How much safe is to allow a stranger Wordpress admin access to a CentOS node?

I am creating a website with Wordpress 5.2 on a CentOS Linux 7.7.1908 node. PHP version is 7.x. I have asked assistance to the creator of the theme that I am using. The creator asks me admin access ...
user avatar
1 vote
1 answer
1k views

Docker nginx-proxy hangs on startup

Docker version 19.03.5, build 633a0ea838 Linux xxx 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux I'm trying to setup an Nginx Proxy with Docker ...
user avatar
0 votes
2 answers
321 views

WordPress not found when using wget

When I run wget https://wordpress.org/latest.tar.gz in my Ubuntu 16.04 server, I get this result: I have tried other sources but they do not have the specific error that I do. It seems to not find ...
user avatar
1 vote
0 answers
107 views

NGINX location directive - Not serving gzip pre-compressed files

I have a Wordpress website where I am trying to serve through nginx, gzip pre-compressed html files generated by WP Super Cache plugin and for that I created a location directive with special headers ...
user avatar
  • 11
0 votes
1 answer
89 views

ed(1) adds ^M to every line of my file

I am working on automating a WordPress install. While editing wp-config.php file, I need to replace 8 lines containing put your unique phrase here with Salt generated by WordPress.org servers. So, I ...
user avatar
0 votes
1 answer
1k views

InstantWP Alpine Linux - repository tag for world dependency 'apk-tools@edge' does not exist

I am using InstantWP which installs a virtual server running Alpine Linux. InstantWP is for running a local version of Wordpress. It has MariaDB 10.1 installed, which isn't the latest version of ...
user avatar
  • 103
1 vote
1 answer
42 views

Find name of directories that don't contain an specific subdirectory

I have more than 200 wordpress sites under /home2/blogname/public_html/ and I need to find what of these blogs don't have one subdir inside called "better-wp-security" under de plugins dir like: /...
user avatar
  • 15
0 votes
1 answer
32 views

how can I reset/modify Wordpress password

I ashed a question How to make Wordpress independent of hostname recently, and followed the advice by editing the mysql details. This seemed quite successful and the Wordpress installation seemed to ...
user avatar
  • 1,238
0 votes
1 answer
39 views

How to make Wordpress independent of hostname

I set up a basic Wordpress installation (on a Raspberry Pi running Raspbian Stretch - Debian 9) using NGINX. Recently I changed the hostname of my system (as part of a plan to ensure consistent ...
user avatar
  • 1,238
0 votes
2 answers
5k views

nginx reverse proxy + static files

I'm serving wordpress behind a reverse proxy in nginx. I want to be able to serve also static pages that I have in a different root directory. I tried this: server { listen 80; ...
user avatar
  • 312
0 votes
0 answers
2k views

Wordpress site hosted on Digital Ocean - 100% CPU usage

TL;DR - when there's traffic (around 900) our sites' CPU reaches 100%, slow down and crush. INTRODUCTION Our company holds more than 40 content websites, hosted on Digital Ocean, using Wordpress CMS....
user avatar
0 votes
1 answer
184 views

Cleaning infected site files from malicious code

I got 750 files that have injected by malicious code, and here is the code : var _0x6eea=["\x56\x79\x7A\x43\x6B\x63\x4B\x65\x77\x37\x67\x39\x64\x43\x6C\x36\x77\x70\x6E\x43\x6F\x63\x4F\x57\x51\x38\...
user avatar
0 votes
1 answer
295 views

Adding .htaccess to Wordpress results in 500 Internal Server Error

I am moving a Wordpress site to a new dedicated host. I have managed to move the assets and import the wordpress database. I update the wp_options to the tempory domain name (until I'm ready to make ...
user avatar
2 votes
2 answers
154 views

Problem restoring Wordpress database

Some months ago I created a Wordpress implementation using NGINX and mariadb (on a Raspberry Pi running Raspbian Stretch). This developed some problems (as a result of a failed attempt to install ...
user avatar
  • 1,238
0 votes
1 answer
259 views

Slicing JSON with JQ to Create Arrays for New Relic Ingestion

I need to take some JSON, slice it using JQ so New Relic can parse it properly as it only takes a specific format when pushing JSON to their dashboards. I am using a bash script and WPCLI and then ...
user avatar
0 votes
1 answer
41 views

Ubuntu 14.04 install "old lamp" stack for penetration testing

I am preparing WAF video for my team and I want to test a sample ubuntu server which will be my victim. I'd like to install "old version" of packages and deploy Wordpress on top of it and use some ...
user avatar
  • 101
0 votes
1 answer
133 views

How do I sync shared folders to my WordPress directory?

How can I get my scripts in data folder synced to the wordpress themes folder? Currently I've got it set from this: config.vm.synced_folder "./data", "/vagrant_data" to this: config.vm....
user avatar
1 vote
0 answers
13 views

wp widget add custom_html removes tag

I want to execute wp-cli command but it removes <script> tag sudo runuser -l userName -c 'wp widget add custom_html footer-1 1 --title="" --content="<script>alert(123);</script>" --...
user avatar
  • 11
0 votes
1 answer
53 views

Moving all directories into a folder, shut down my linux server

SO recently I tried moving all files in a directory into a directory within the file path I was requesting everything to move from. From the directory /srv/www/wptestsite I ran the command sudo mv ./*...
user avatar
0 votes
2 answers
169 views

My Ubuntu 16.04 Install with WordPress keeps opening apache2 processes, eating memory [closed]

After a clean server reboot, the server will be okay. Upon visiting the website and clicking around on some links, apache2 processes are created but never terminated and it constantly takes up more ...
user avatar
1 vote
1 answer
67 views

Change permissions of users and groups? [closed]

How can I list all users and groups and change their permissions? I try to update Wordpress but my FTP user intranet_admin has not enough permissions and is unable to create a directory. Update ...
user avatar
  • 1,720
1 vote
2 answers
62 views

Redirect all lines of code to the same file in a single line

I have the following command set used to update all my WordPress sites in my CentOs shared-hosting partition on my hosting provider's platform (via daily cron). The wp commands inside the pushd-popd ...
user avatar
  • 1,752
0 votes
0 answers
258 views

nginx php 110:connection timed out running nextcloud and wordpress

I'm running a private server using nginx trying to host wordpress at the root of the directory and nextcloud in /nextcloud. Here is my nginx config file. There's probably lots of extra's I don't need ...
user avatar
  • 41
1 vote
1 answer
57 views

Shortest way to automatically upgrade all WordPress instaces under document root (>=4.7.x)

I have a Ubuntu 16.04 Nginx environment with a few minimal WordPress sites (virtually all with up to 5 conventional plugins, 10 pages, 10 images, and a simple contact form to send only textual data). ...
user avatar
  • 1,752
6 votes
0 answers
33k views

How to solve the issue "AH00169: caught SIGTERM" shutting down in Apache when running WordPress

Environment: debian9+LAMP+wordpress4.9.3, build on my local PC, and used myself. cat /var/log/apache2/error.log [Mon Feb 05 09:42:09.965635 2018] [mpm_prefork:notice] [pid 1083] AH00163: Apache/2.4....
user avatar
  • 213
0 votes
1 answer
228 views

A good way to delete all cache dirs of all CMSs under document root with Bash

Say that under document root I have 3 apps; One is WordPress, second is Drupal, and third is Magento. I wonder what's a good way to delete all cache directories of all CMSs under document root. I ...
user avatar
  • 1,752