Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

The tag has no usage guidance.

0
votes
1answer
6 views

how to properly mount external server directory for wordpress uploads

I have multiple servers I am using for my wordpress site, each server has its own purpose. Currently I have a server that I want to use for all of wordpress file uploads, this way nothing is saved on ...
0
votes
1answer
22 views

How to fix wp-login.php gives error 500 after migration?

I have migrated a word press site to a self hosted linux server. My front page and all other pages load however images are still pointing to my old server. My wp-login.php page also gives an error 500....
0
votes
2answers
16 views

How to configure Wordpress Database for CentOS 7

I'm trying move an existing Wordpress site to run across two different servers, one with Apache and the main source code and the other that just has the database running on MYSQL. wp-config: define('...
0
votes
1answer
32 views

Wordpress failing to update plugins

After cloning my wordpress site and fresh install of it i encountered problem. Plugins won't update. I'm working in Linux environment (Ubuntu). I've tried multiple solutions but still without positive ...
1
vote
3answers
157 views

WP Admin missing icons, numerous JavaScript errors, but only when SCRIPT_DEBUG is false

I have access to a single Linux/Apache server where I'm trying to deploy WordPress. For purposes of this error, I've tested it with the default twentyseventeen theme and all plugins disabled. When I ...
0
votes
0answers
21 views

How come there is no error if I upgrade WordPress core after locking .htaccess permissions to 644?

How come there is no error if I upgrade WordPress core after locking .htaccess' permissions to 644? I upgrade WordPress this way basically: wp plugin update --all wp core update wp language core ...
0
votes
0answers
28 views

A plugin changes my .htaccess file and I can't access httpd.conf as that's a shared server

In a CentOS with Bash A WordPress plugin (most likely WordFence) changes my .htaccess file by deleting extraneous (Apache PCRE) directives I've added there, and I can't access httpd.conf to add them ...
0
votes
0answers
234 views

403 Forbidden home on localhost with nginx server

I install wordpress in nginx server on my localhost using debian OS, install is normally. But I only can login to my dashboard using localhost/statistik/wp-admin/index.php not in localhost/statistik/...
0
votes
1answer
146 views

Move site root directory on debian

I installed WordPress on Debian using this article from the Debian Wiki. My wp.conf looks like Alias /wp/wp-content /var/lib/wordpress/wp-content Alias /wp /usr/share/wordpress <Directory /usr/...
0
votes
0answers
42 views

Postfix is installed in Ubuntu 16.04 with “internet site” but emails won't be sent from contact form

In a up2date Ubuntu 16.04 (Xenial) with Nginx I have installed Postfix with the "internet site" default configuration and Postfix was indeed installed successfully as indicated from postconf -d | grep ...
0
votes
1answer
19 views

Fastest way to install a multisite?

I setted up a Ubuntu-Nginx VPS machine with phpmyadmin and WP-CLI. I'm ready to start working with WordPress. What's the fastest way to install a multisite? Maybe with WP-CLI, maybe there's a ready, ...
0
votes
0answers
74 views

One Wordpress installation stalls entire Plesk Server - php-fpm7.0 100% CPU usage

I have a Plesk Server with several Wordpress installations. However one of them is constantly spanning php-fpm7.0-childs that use 100% CPU and never die until I kill them manually. This behaviour ...
1
vote
1answer
217 views

Shortest way to install WP-CLI

That's the shortest way I know to install the WordPress shell extension WP-CLI: curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > /usr/local/bin/wp && chmod +...
2
votes
1answer
52 views

Can't upload media to my Raspberry Pi Wordpress server

Thanks in advance for any useful tips. I'll cut to the chase. I followed these guides to set up my wordpress server: 1 - https://www.techcoil.com/blog/setting-up-wordpress-on-raspberry-pi-3-with-...
0
votes
1answer
257 views

Is Postfix required for WordPress contact forms in general?

If I remember correctly, I could get data from ContactForm7, for example, into my personal Gmail account, without doing apt-get install postfix -y, though I might be wrong and I did install it. I don'...
0
votes
2answers
104 views

A shorter way to automatically update WordPress?

This is how I started to update WordPress daily: cat <<-"CRON_DAILY" > /etc/cron.daily/nses_cron_daily for dir in /var/www/html/*/; do cd "$dir" && /usr/local/bin/wp plugin ...
1
vote
2answers
53 views

login wp impossible

well i can access the sites: www.foo.com and www.bar.com but i cannot access the login - the sites are blank. foo.com/wp-login.php bar.com/wp-login.php i have the following logs. [Mon Jan 01 16:...
1
vote
1answer
29 views

Flatten media files in uploads directory via linux terminal eliminating thumbnails?

I need to get the source files (the initial files I have uploaded) of my media library flattening the directory structure and getting rid of the smaller images created by wordpress using linux/mac ...
0
votes
1answer
397 views

wordpress ajax upload media not working

I move my wordpress website to another server that is centos7 and apache web server and everything is ok but ajax upload in media not work. it is ok when i did not use ajax but it has problem with ...
-2
votes
1answer
25 views

Check WordPress size on disk

Is there is any plugin or method to check how much wordpress size is on disk. Let's say I have two different directories (abc.com, abc.com/differentPath) on abc.com domain, and in both directories, ...
0
votes
1answer
305 views

Timthumb isn't displaying any images. "A TimThumb error has occured

I have a Wordpress web site which is hosted on a distributed infrastructure. I have a web server(apache) and a cache server (varnish). When I load the site directly from web server everything is OK, ...
-3
votes
1answer
47 views

Communcation with wordrpess and linux server [closed]

Is there any way to send & receive data between Wordpress & linux server ? What i wants to do is Take data from user from wordpress page Send data to linux server for processing Once ...
2
votes
2answers
208 views

Right permissions to WordPress directory

Knowing that not all files and folders have the same permissions, What are the right permissions in order to avoid hacker attacks and to allow the sites updates and upgrades? My site is installed on ...
1
vote
1answer
3k views

WordPress incorrectly redirects to local IP address?

I have my wordpress server set up using php, mysql, and apache on my raspberry pi. I also have a dynamic dns hostname and configured my router's port forwardiing settings. When trying to access my ...
0
votes
1answer
295 views

Strange special character/Latin characters

We have developed many blogs on wordpress which is hosted on Rackspace server(Red Hat). Last Sunday we worked on user and set 'myuser' to run as PHP. So if we execute echo shell_exec('whoami'); then ...
1
vote
1answer
83 views

Accessing an image folder inside public web directory

I have put a folder in the public web directory of my WordPress installation where I have some images used by a legacy system. Say its located under http://example.com/legacy-images/image1.png. I ...
1
vote
1answer
631 views

Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML

I'm trying to get WordPress running off of a plain Digital Ocean Ubuntu droplet. I'm running Apache, and it serves basic index.html files fine, from my /var/www/html directory. When I unzip the latest ...
-1
votes
2answers
882 views

504/502 errors plauging our site

One of our sites keeps going offline and I'm running out of ideas. It's a wordpress site built with the Avada theme and it's goal is to server as a calendar of events using The Events Calendar plugin. ...
0
votes
1answer
141 views

My WordPress is giving me an 403 error when saving post/draft with specific words

I'm getting a 403 error when trying to save a post/draft on my wordpress site, but it only occurs with specific words like "in(", "is(" or "import". I know that this doesn't seems to be posted on ...
0
votes
2answers
4k views

enable SFTP via SSH keys in wordpress

can anyone help me define('FTP_PUBKEY','/home/use/.ssh/id_rsa'); define('FTP_PRIKEY','/home/user/.ssh/id_rsa'); define('FTP_USER',''); define('FTP_PASS',''); define('FTP_HOST','127.0.0.1:22'); ...
0
votes
1answer
358 views

SELinux security vs Wordpress updates

We have a quite huge Wordpress multi-sites installation with lots of themes/plugins. So we often have new available updates (core/themes/plugins). We don't use automatic updates : ...
0
votes
1answer
36 views

How can I add a row in a table from a Linux Shell?

I'm looking to do some scripting here so I can easily just have an application or script automatically add a row for me without needing me to use the UI and do it manually. Is this possible?
0
votes
2answers
2k views

Page permalink redirects to home page

I've recently switched to Linux Fedora, and I moved all my xampp files to my new installation, as well as importing the databases. Now I'm facing an odd problem, a couple of weeks ago I've created a ...
1
vote
1answer
354 views

Definitive wordpress directory ownership and permissions on linux

I know there are a thousand questions about this all over the place and trust me I've been trying every possible solution for years [not an overstatement] and each and every one is either missing a ...
-1
votes
1answer
36 views

how to put shortcode to the top of the page - theme 2014

experts running a wp 4.6,1 -. with a specail theme - called 2014 extended! question; can i put this to the top of the page: [su_tabs] [su_tab title="Technische Literatur" anchor="First"][amazon ...
0
votes
0answers
31 views

How do I prevent a folder from reappearing in my home directory?

I have a fairly standard Wordpress/WooCommerce site and I've found that once a day an empty folder called shop is created in the home directory. This causes issues with WooCommerce's redirect rules ...
3
votes
1answer
2k views

security+best practices: root or www-data on a wordpress content folder?

drwxr-xr-x 8 www-data www-data drwxr-xr-x 6 www-data www-data -rw-r--r-- 1 www-data www-data -rw-r--r-- 1 www-data www-data -rw-r--r-- 1 www-data www-data drwxr-xr-x 7 www-...
2
votes
1answer
506 views

WP-CLI sudden empty response

I set up WP-CLI on a new server this past Monday, which worked as expected and scripts I've made worked following with no issue. Yesterday, running the same script gave errors: PHP Warning: ...
0
votes
4answers
309 views

What's the proper way to setup WP-CLI on Ubuntu so that I don't have to use the flag --allow-root?

I have an Ubuntu server, typical LAMP stack with default www-data as the user / group under which Apache serves files. When updating with WP-CLI I always have to type --allow-root flag. How do I ...
0
votes
1answer
1k views

Wordpress monthly upload directory owner set to root

This is a weird one. Wordpress by default stores uploaded media in monthly sub-directories of the uploads directory. Eg wp-content/uploads/2016/07/ On one of my sites, this directory's owner gets ...
0
votes
2answers
398 views

What user should I use for wp-cli on Ubuntu VPS [closed]

I have set-up my first VPS (Ubuntu). Apache 2 and php were pre-installed, I was able to install wp-cli, but it is kinda useless for me know. I am getting user permissions error. For example when I run ...
0
votes
1answer
25 views

Sharing one WordPress installation between several “sites”?

I'm running a VPS with Ubuntu. I've installed the LAMP-stack, and would now like to make a couple of blogs/sites using WordPress. I'm thinking about creating new users for each blog and making a ...
0
votes
2answers
4k views

Which Apache-modules must I enable?

I'm running a VPS with Ubuntu 14.04.4 x64 and Apache 2.4.7, and would like to set-up a WordPress site on it. Which apache-modules must I have enabled - and which should I enable (eg. for cool WP-...
0
votes
1answer
76 views

How to automate adduser (on linux) when add new user site in multisite

Like certain control panel like Cpanel or VestaCP, once new user created, it automatically adduser into linux. The purpose to do this is to monitor resource usage by each wordpress multi user. How to ...
1
vote
3answers
1k views

Can't delete the two native plugins of Wordpress

Just installed WP in Ubuntu 15.10 desktop on my local, home PC. It's the first time I install this CMS in Linux. After install I came to delete the two native plugins, Aksimet & Hello Dolly. In ...
0
votes
2answers
930 views

Migrating WordPress from Windows Server 2008 R2 (IIS v7.5) to CentOS

The agency I work for have purchased a new server, bringing our total up to 4. The 3 servers we had previously are all running Windows Server 2008 R2, whereas this new one is running CentOS, ...
1
vote
2answers
280 views

Rewrite URL to remap WordPress Permalink

I'm moving my WordPress site to a new host, and in the process I want to make a one time change to the Permalinks. I want to rewrite the URLs from /2015/11/sample-post/ to /sample-post/ but how can I ...
0
votes
1answer
82 views

Plugins & backup not working correctly on new Digital Ocean server

So I just fired up a new Digital Ocean droplet running Ubuntu 15.10x64 and I'm setting up a Wordpress environment. I am setting it up from scratch without a Wordpress image. I followed a lot of the ...
0
votes
1answer
112 views

Is it a good idea to edit WordPress within Eclipse? [closed]

A friend and I are building a WordPress website. He has already customised a WordPress theme, and I can view the new site in an Internet explorer and edit it within the WordPress tool. He has sent me ...
0
votes
3answers
2k views

Wp_mail() function not working in Windows and MAC OS

Not getting mails when sent from Windows OS and MAC OS but getting when sent from Linux OS. I tried sending mails from LINUX OS,Windows and MAC OS LINUX sending me the mails as it should do but ...