WordPress

Backup and SecurityHow ToSecurity

Views: 7

How to Disable XML-RPC and Block REST API User Enumeration in WordPress

Disable XML-RPC, block REST API user enumeration, and stop ?author= redirects with exact PHP hooks, Apache/.htaccess, and Nginx config examples.

Read More

How ToSecurity

Views: 2

Correct File Permissions for WordPress: chmod Guide for Every File and Folder

Set correct chmod values for wp-config.php, directories, files, uploads, and .htaccess. Includes one-liner fix commands and wp-config.php constants.

Read More

Backup and SecurityWordPress

Views: 19

WordPress Security Headers: How to Add CSP, HSTS, and X-Frame-Options

A practical guide to adding HTTP security headers to your WordPress site using .htaccess, nginx config, and PHP. Covers Content Security Policy (CSP) without breaking Gutenberg, HSTS with preload submission, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy — plus how to test with securityheaders.com and Mozilla Observatory.

Read More

Code SnippetsHow To

Views: 7

WordPress Environment Config: How to Set Up Dev/Staging/Production wp-config.php

Learn how to configure separate WordPress environments for dev, staging, and production using conditional constants, WP_ENVIRONMENT_TYPE, wp-config-local.php pattern, and .env file integration.

Read More

Database OptimizationSettings & ConfigurationWordPress

Views: 6

WordPress Database Connection: SSL, Charset, Collation, and Repair Constants

Master the wp-config.php database block: DB_CHARSET, DB_COLLATE, WP_ALLOW_REPAIR, MYSQL_CLIENT_FLAGS, a custom db.php drop-in for TLS pinning, and WP-CLI checks to verify encoding and SSL on every connection.

Read More

Backup and SecurityWordPress

Views: 40

April 2026 WordPress Vulnerability Roundup: Ninja Forms, Kali Forms, and Perfmatters Under Active Exploitation

Three high-severity WordPress vulnerabilities are under active exploitation right now — Ninja Forms file upload, Kali Forms, and Perfmatters file deletion. Here is what got disclosed between April 6 and April 18, who is affected, and the exact steps to take in the next 10 minutes if you run any of them.

Read More

Code SnippetsHow To

Views: 11

WordPress Multisite wp-config.php: Network Constants

A complete reference to every WordPress multisite wp-config.php constant: WP_ALLOW_MULTISITE, MULTISITE, SUBDOMAIN_INSTALL, DOMAIN_CURRENT_SITE, PATH_CURRENT_SITE, SITE_ID_CURRENT_SITE, BLOG_ID_CURRENT_SITE, NOBLOGREDIRECT, SUNRISE, COOKIE_DOMAIN, SITECOOKIEPATH, COOKIEHASH, and network tweaks that separate a working network from a production-grade one.

Read More

Security

Views: 14

Wordfence Weekly: 450K WordPress Sites at Risk (Perfmatters, Ninja Forms, MW WP Form)

Three major WordPress plugin vulnerabilities disclosed in early April 2026, Perfmatters (200K sites), Ninja Forms File Upload (50K sites), and MW WP Form (200K sites). What each vulnerability does, whether your site is affected, and the patched version numbers.

Read More

Migration & BackupSettings & Configuration

Views: 5

How to Move WordPress Content Directory (WP_CONTENT_DIR, UPLOADS, Plugin Paths)

Step-by-step guide to relocating WordPress wp-content, uploads, and plugin directories using WP_CONTENT_DIR, UPLOADS, and WP_PLUGIN_DIR constants, plus the gotchas that break themes and plugins after the move.

Read More