This guide summarizes the files and methodology used for advanced hardening, performance tuning, and cleanup of a WordPress installation.
This file is the primary layer for security and performance at the server level.
- 🛡️ Security Hardening:
| <?php | |
| /* | |
| * Hide Elementor image optimization ads when choosing the post's featured image on the backend | |
| * UPDATE: 09/05/24 Hide Elementor image optimization ads on Media Library, if closing the "x" is not enough. | |
| */ |
This guide summarizes the files and methodology used for advanced hardening, performance tuning, and cleanup of a WordPress installation.
This file is the primary layer for security and performance at the server level.
| ######################################################################## | |
| # OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024 | |
| # ---------------------------------------------------------------------- | |
| # @Author: Andreas Hecht | |
| # @Author URI: https://seoagentur-hamburg.com | |
| # License: GNU General Public License v2 or later | |
| # License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| ######################################################################## | |
| # | |
| # Sources: | |
| # http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
| # http://codex.wordpress.org/Output_Compression | |
| # http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
| # http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
| # http://gtmetrix.com/configure-entity-tags-etags.html | |
| # http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
| # http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
| # https://andreashecht-blog.de/4183/ |