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

Firefox Tip

I discovered yesterday that [tag]bookmarks[/tag] in [tag]Firefox[/tag] can have no name. Seems pointless? Not if the sites have [tag]favicons[/tag]: Space saving, so you can see more, hence fewer clicks. The above are jazzle.co.uk, The Sketchup Components Collection, bit-tech, ebay, amazon, radiotimes.com and the default icon (for a site with no [tag]favicon[/tag]), but you knew that … Read moreFirefox Tip