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…
Details
Query posts by custom taxonomy term in WordPress

Query posts by custom taxonomy term in WordPress

Query posts by a custom taxonomy term in WordPress Categories and tags are the built-in taxonomies, but most projects also register their own: genre, location, brand. Sooner or later you need all posts of one term: portfolio items of one project type, products of one brand, the latest articles in a genre. The tool for…
Details