Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
WordPress is a free and open source blogging tool and a content-management system (CMS) based on PHP and MySQL.
1
vote
1
answer
46
views
Four-lines script to make an immediate DB and document root zip backup
What do you think of my script to make an immediate DB and document root zip backup? Any flaw you might find. Please inform me of it:
#!/bin/bash
mysqldump -u root -p --all-databases | zip ${drt}/db- …
1
vote
2
answers
66
views
chmod all .htaccess files under all website dirs under public_html dir
The reason I use this code is to make sure WordPress plugins won't "freak out" and change my .htaccess file undesirably. …
3
votes
1
answer
101
views
Create a WordPress site data with Nginx app data automatically
The following script is aimed for Ubuntu >=16.04 LEMP environments with PHP-FPM >=7.0, MySQL, WP-CLI, Certbot, and WordPress apps. …
1
vote
1
answer
50
views
Nginx-WordPress conf
This is how I create am Nginx virtual host for a WordPress webapp. I did best to keep it as minimal as I can while having a working webapp. Please review it:
#! …
2
votes
1
answer
112
views
Webapp Substrate script for WordPress on Debian-Nginx
The following script creates a webapp substrate for WordPress webapps/websites on Ubunu-Nginx with PHP-FPM and Mysql environments, with Certbot, while all software is uncustomized. … ${domain}
done
cd /var/www/html/
wget http://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz && rm latest.tar.gz
mv wordpress ${domain}
cp /var/www/html/${domain}/wp-config-sample.php …
4
votes
1
answer
282
views
cron daily and weekly scripts for a minimal Nginx server environment
The daily cronjob updates WordPress and brings back original permissions (that are changed by WordPress in its update). … The weekly task clears accumulated WordPress cache, make local backups, and delete old backups.
I wonder where this script could be shortened. …