Questions tagged [wordpress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 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
votes
0answers
9 views

run perl scripts thru wordpress

hi im developing a web page in wordpress for my internships in a telecomunications enterprise and the objective is to be able to execute perl scripts (3 at the same time) thru wordpress and be able to ...
1
vote
1answer
34 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
18 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
24 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
11 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
31 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
171 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; ...
3
votes
2answers
1k 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 ...
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....
2
votes
1answer
307 views

What does this code really do?

I am testing iThemes security plugin for Wordpress. It adds the following code: # Rules to help reduce spam location /wp-comments-post.php { valid_referers jetpack....
0
votes
1answer
18 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 ...
0
votes
1answer
86 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\...
2
votes
0answers
53 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
8 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
2k views

How to make directory writable?

I just installed apache2 and WordPress on my RPi. I followed this tutorial. After its successful installation, I moved on to customization. But when I upload any images, etc. I receive the following ...
0
votes
1answer
116 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 ...
7
votes
4answers
41k views

Linux Wordpress can't write wp-config file

I installed the latest version of Apache2 / PHP / MYSQL on my PC. In the directory /src/www/htdocs I created a directory wordpress with all wordpress files. Then, when I tried to create the wp-...
2
votes
0answers
109 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
27 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 ...
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
0answers
106 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 ...
0
votes
2answers
16k views

Uninstall Wordpress

I am still at the beginning and just wondering how to uninstall totally WordPress and then reinstall it. I installed first time from this tutorial.
0
votes
2answers
1k views

Cannot Access LAMP Web Server on Ubuntu Server 14.04

UPDATE: So it seems that I can access the website from computers outside of the LAN, it's when I try to pull up from any computer on the same LAN as the server that I get an issue. From what I've read ...
0
votes
1answer
45 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
1answer
53 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....
0
votes
2answers
4k views

Restrict user to do SFTP on the www folder owned by www-data group

I would like to create a new user with read/write privileges ONLY in the /var/www/ directory including all sub-directories. The /var/www/ is owned by a group called www-data. Best way to do it I ...
4
votes
2answers
5k views

Apache ownership and permissions for wordpress

My question concerns Apache and the different ways it can operate. For this particular machine I am the only user, and I will be using the box mainly to run WordPress on a LAMP Stack with Ubuntu 12.04....
0
votes
2answers
106 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
53 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 ...
0
votes
1answer
184 views

WordPress subdirectory installation with Tomcat using nginx webserver

I'm running tomcat on main website using nginx proxy pass, now I want to install wordpress on the same domain as a sub-directory like this: example.com/blog I used below config in nginx. location /...
1
vote
2answers
53 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
1answer
171 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 ...
3
votes
1answer
803 views

FreeBSD jails - Nginx, PHP-FPM, Wordpress - Share folder between jails (read-only)

Question I want to separate PHP (PHP-FPM) and Nginx into different jails. One jail with Nginx, and one with PHP-FPM / PHP / Wordpress. Nginx is good at serving static assets, so I would like to ...
1
vote
1answer
42 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
15k 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
29 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
58 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
321 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
414 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
46 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
26 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 ...
1
vote
1answer
657 views

Blank page after installing ISPConfig3

I have followed the instructions on HowToForge (only step #20) and setup ISPConfig3 without problems. The server is Debian Jessie 8.1; and it serves multiple domains. The main domain is example.com. ...
0
votes
1answer
424 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
390 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
434 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
383 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 ...
0
votes
1answer
192 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 ...
1
vote
2answers
247 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
60 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 ...