The NatWest Card Reader, part deux (I didn’t change banks)

My last post on the subject (a fraction over 10 years ago!) garnered a lot of comments for what was essentially just a rant, and it turned out to be somewhat unfounded and sensationalistic. I’m still with NatWest, their online banking is still very good and their app is the best, and I’ve rarely had to … Read moreThe NatWest Card Reader, part deux (I didn’t change banks)

WordPress config snippet for dynamic domains

Quite why this isn’t how WordPress works by default, I’ll probably never know. $domain = ‘http’ . (false ? ‘s’ : ”) . ‘://’ . $_SERVER[‘HTTP_HOST’]; define( ‘WP_SITEURL’, $domain ); define( ‘WP_HOME’, $domain ); If anything, this snippet is for my own reference. Prevents redirects on development / staging sites without changing the wp-config.php