Questions tagged [wordpress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
4 views

Get WP Post Meta Value with Ajax in modal inner div

Need to get post meta value 'causes' when clicking on button with ID Using this in posts query loop I've modal with custom div#id to get value within it I put shortcode [ibenic_post] below the button ...
0
votes
0answers
12 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: ...
0
votes
1answer
34 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 ...
0
votes
0answers
28 views

Remote OS Command Injection via File URL for WordPress site

We ran a security test for our site, in the report we got below error. Error: Remote OS Command Injection URL: https://www.{domain}.com/wp-content/uploads/2019/11/Banner-GIF-1200-2x.mp4?_=1%...
2
votes
2answers
102 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 ...
1
vote
1answer
160 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 ...
0
votes
2answers
31 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 ...
0
votes
0answers
24 views

Wordpress Added 301 Redirect That Shouldnt Be There

Im running a wordpress install on NGINX having recently migrated to a cloud droplet. All was well for a while but now a redirect has appeared and I don't know how to fix it This is the header ...
1
vote
0answers
55 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 ...
0
votes
1answer
58 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 ...
0
votes
1answer
205 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 ...
1
vote
1answer
37 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: /...
0
votes
1answer
23 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 ...
0
votes
1answer
27 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 ...
0
votes
0answers
19 views

Can I share wp-content for “Debian-style” multi-site Wordpress?

I set up two WordPress sites on my Debian server by using different configuration files (/etc/wordpress/config-site1.example.com.php and /etc/wordpress/config-site2.example.com.php). For those not ...
0
votes
0answers
65 views

HAProxy & WordPress in subdirectory — login into wp-admin redirects to root

I have two VPS running. One is running HAProxy and another one is running WordPress. Both VPS has private networking enabled and I can curl the WordPress site fine from HAProxy server using its ...
0
votes
2answers
1k 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; ...
0
votes
0answers
1k 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....
0
votes
1answer
119 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\...
0
votes
1answer
30 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 ...
2
votes
0answers
64 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 ...
1
vote
0answers
9 views

Transferring wordpress site from server A to B ends with some corrupted js files in the target server

I had copied an entire wordpress site from one server (A) to another (B), and in the target server (B) a couple of js files seems to be corrupted like I show in the two screen captures.. In my local ...
0
votes
1answer
173 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
93 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....
1
vote
0answers
9 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>" --...
0
votes
1answer
46 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 ./*...
0
votes
2answers
118 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 ...
1
vote
1answer
56 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 ...
1
vote
2answers
56 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 ...
0
votes
0answers
134 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 ...
1
vote
1answer
46 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). ...
5
votes
0answers
20k 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....
0
votes
1answer
39 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 ...
0
votes
2answers
59 views

Shortening the WP-CLI install operation [closed]

WP-CLI is a Bash expansion that allows you to automate different operations in the popular CMS WordPress. Given my environment setup script is already quite long (by means of lines), I've setted the ...
-1
votes
1answer
395 views

Shortening of DB and WordPress instance creation script

How could I further shorten the following script who's purpose is to create a database && WordPress instance and then change permissions per the domain given and restart the server? ${domain} ...
0
votes
1answer
610 views

How to change the owner and group of a directory by the name of that directory?

I have a Ubuntu 16.04 Nginx server environment with several CMS (WordPress) websites under document root. All the site directories have www-data as owner and group, recursively. According to some ...
-1
votes
1answer
47 views

URL - Unix timestamp doubt [closed]

/?doing_wp_cron=1515663000.7121028900146484375000 this is appended automatically in my url. I know about the first part. i.e 1515663000. which denotes the unix timestamp of 11/01/2018 9:30AM. what ...
0
votes
1answer
29 views

Do I need port 993 to get email in a WordPress site?

Do I need port 993 unfiltered to get emails from a WordPress site? For example, in WordPress I've installed a plugin called "Contact form 7" (CF7) that gives you a basic contact form. In the plugin ...
0
votes
1answer
467 views

Out of memory error in apache running Wordpress with mod_php

I have Wordpress running in Production behind Load Balancer. The number of request is around 4 req/sec on each server as captured through apachetop. The system runs and intermittently throws "Out of ...
0
votes
1answer
222 views

Apache is not creating directories with sgid enabled

I added sgid recursively to the document root of my wordpress website. I can create files and directories inside with group inherited. Even directories created by FTP also working fine with sgid. But ...
2
votes
0answers
111 views

Need newly created files to inherit ownership

I have set up a Wordpress Server for my developers and it is working. However now when we copy over files to the /usr/share/nginx/html folder I am having permissions issues. I will try explain this ...
0
votes
1answer
409 views

High CPU load for WordPress

Some plugins in WordPress are causing high CPU usage. Running atop command i can see that can php-cgi and mysql services are causing the load. Is there a way i can see via CLI what plugins are causing ...
1
vote
3answers
492 views

chmod - What does this command do?

I found this command lines on the net: find . -type f -exec chmod 644 {} + find . -type d -exec chmod 755 {} + I'm not sure of what they do when executed... In theory I guess they go search of all ...
0
votes
1answer
473 views

Permissions error with wordpress

So recently I had migrated my site to amazon Vps and getting too many permissions errors. I have already changed all folder permissions to > 755 and all file to > 644. Also, given chown of wp-upload ...
3
votes
2answers
2k views

How do I install WP-CLI for all users on centOS 7

I've followed the instructions provided on the wp-cli.org site but I can't seem to get the wp command to run for all users. I copied the file to /usr/local/bin and renamed it to wp per the ...
1
vote
2answers
269 views

Getting 403 in any php located in wp folders

Using VestaCP with nginx + httpd on CentOS 6.7 The website works perfectly, but to load php files from javascript failes since it gives 403 error. I have tried the following: (Every folder got the ...
0
votes
1answer
250 views

symlinks creates duplicate folder name

I have purchased an ebs volume to keep all my wordpress uploads. My wordpress files are in /var/www/html and in order to link between the upload folder here and in ebs volume, i created a symlink as ...
0
votes
1answer
61 views

web server redirecting?

I installed turnkey wordpress (turnkey-wordpress-14.0-jessie-amd64-disk1) on one computer and then I moved the vmdk to another computer. Now when I boot up the VM I get the turnkey windows with all ...
2
votes
0answers
127 views

WordPress high Steal time on Linux Ubuntu 16.04.1

I have a dynamic Wordpress website with multiple plugins, installed over an AWS EC2 t2.micro Instance with a Linux Ubuntu 16.04. At some point of working on the admin panel on different occasions, ...