Blog
Actionable tips and updates to help you ship plugins, themes, and client sites faster
7 min readHow to change the site URL in WordPress, and what each method actually changes
WordPress stores its URL in two database rows, and three of the four common methods only write to one of them. Here is what each method touches, and which row causes which symptom when it goes wrong.
9 min readWordPress maintenance mode: what core actually does, and why it cannot hold a planned window
WordPress has a real maintenance mode built in, but it expires after ten minutes, locks out administrators, and runs before any plugin loads. That makes it the wrong tool for a planned maintenance window, and the right tool for something else.
3 min readWordPress Site Health: what the score is, and which tests lie to you
The Site Health percentage comes from a four-line formula, and the number of tests that run depends on one constant you have probably never set. Here is the real test list, the scoring maths, and the failures that are about your server rather than your site.
8 min readWhat wp-cron.php actually does, and when to disable it
wp-cron.php is not a cron daemon and it no longer slows your visitors down. Here is what the file really does, why a failed job disappears without retrying, and the two constants that change its behaviour.
7 min readIncrease the WordPress memory limit, and know when the line you added does nothing
Adding WP_MEMORY_LIMIT to wp-config.php raises the limit only when it is higher than what php.ini already gave you, and core throws away the error when the raise fails. Here is the mechanism, and the one check that tells you whether your server allows it at all.
7 min readWordPress permalinks: what changing the structure actually breaks
Change your permalink structure and most old URLs will not 404, because core guesses the new one with a prefix match on post_name. That guess can land readers on the wrong post, and pages get no redirect at all.
6 min readThe WordPress .htaccess file: what core actually writes, and when it silently does not
WordPress manages exactly one block of your .htaccess, decides whether to write it from a string match on SERVER_SOFTWARE, and throws away the result when the write fails. Here is the mechanism, read from core.
8 min readWordPress revisions store three columns, not a snapshot of your page
A revision saves post_title, post_content and post_excerpt. Custom fields, taxonomy terms, the featured image and the page template are not in there, so Restore This Revision does not bring them back. Here is what core actually writes, and what the official doc gets wrong.
7 min readWordPress XML-RPC: the one-line disable does not disable it
add_filter('xmlrpc_enabled', '__return_false') leaves pingbacks running, keeps advertising xmlrpc.php in your head tag, and still sends the X-Pingback header. Core's own docblock says so. Here is what each method of turning it off actually stops.