WordPress Developer Ukraine, Kyiv
Protect wp-config.php and xmlrpc.php via .htaccess

Protect wp-config.php and xmlrpc.php via .htaccess

Protect wp-config.php and xmlrpc.php with .htaccess wp-config.php is the most sensitive file of a WordPress site: the database name, user and password in plain text, the authentication keys and salts, the table prefix. Normally PHP executes the file and a direct request returns an empty page. But that depends on PHP working: if the PHP…
WordPress .htaccess Performance: Enable Gzip Compression, Expires Headers, and Cache-Control

WordPress .htaccess Performance: Enable Gzip Compression, Expires Header ...

Compression and browser caching for WordPress in .htaccess Two of the most common PageSpeed findings, “Enable text compression” and “Serve static assets with an efficient cache policy”, are fixed on the web server, not in WordPress. On Apache hosting, which most shared WordPress hosts still use, three modules do it: mod_deflate compresses text responses, mod_expires…