- Backup erstellen
- Updates von Plugins + WordPress automatisieren
- Sicherheits-Paket mit IP-Blocking installieren
- OPTIONAL: Hardening durchführen
- E-Mail-Adressen vor Harvestern schützen
- Spam-Schutz installieren
- Cookie-Banner einblenden
- Besucher-Statistiken zeigen
- Ladezeit durch Caching optimieren
Nice-to-have-plugins
- Postie
- TypeSwitcher
- Duplicator
- WP-User-Media
- Login-Menu
- PageBuilder: brizy
- https://aixidee.de/wordpress-plugins/
WordPress > WebSite-SicherheitsTools
- Security Ninja
- Geekflare WordPress Security Scanner
- Sucuri WordPress Security Scanner
- https://geekflare.com/find-wordpress-vulnerabilities/
- https://securityheaders.com/
- https://totalsuite.net/blog/security/6-tips-to-tighten-up-your-wordpress-website-security/
WordPress > WebSite-SpeedChecks
WordPress > Cookie-Checks
WordPress > WebSite-Theme-Detector
https://whatwpthemeisthat.com/
WordPress Installation via Shell (wget WP + Skript):
wget https://wordpress.org/latest.tar.gz && tar -xzvf latest.tar.gz
wget https://expanic.at/wp/wp-and-plugins-installer.sh && chmod 700 wp-and-plugins-installer.sh
Make the script executable (chmod +x) and then run it like this:./wp-and-plugins-installer.sh
or with explicit naming of shell like this:bash wp
-and-plugins-installer
.sh
# Komplettes SKRIPT für Installation + Plugins # # WordPress latest version runterladen, entpacken und Installer löschen # wget http://wordpress.org/latest.tar.gz; tar xfz latest.tar.gz; mv wordpress/* ./; rmdir ./wordpress/; rm -f latest.tar.gz readme.html license.txt liesmich.html ./wp-content/plugins/hello.php; # # Plugins runterladen # cd ./wp-content/plugins/; wget https://downloads.wordpress.org/plugin/wordpress-seo.latest-stable.zip https://downloads.wordpress.org/plugin/jetpack.latest-stable.zip https://downloads.wordpress.org/plugin/cachify.latest-stable.zip https://downloads.wordpress.org/plugin/sucuri-scanner.latest-stable.zip https://downloads.wordpress.org/plugin/auto-tag-links.latest-stable.zip; for i in *.zip; do unzip $i; done; rm *.zip; cd ../../;
How can I set a WordPress post to private by default instead of public?
Add the following code snippet in your theme’s function file.
function force_type_private($post) { if ($post['post_type'] == 'post') { if ($post['post_status'] != 'trash') $post['post_status'] = 'private'; } return $post; } add_filter('wp_insert_post_data', 'force_type_private');
Changed the boolean to:
if (($post['post_type'] == 'post')&&(!current_user_can('administrator')))
So only Admin can publish. Works as intended.
Comments by wp-admin