Remove New Relic JavaScript from WordPress AMP Pages

Having problems with New Relic scripts invalidating your WordPress AMP pages? Add this to your functions.php file: /** Disable New Relic Scripts in AMP Pages */ function disable_newrelic_for_amp_pages() { if ( function_exists( ‘is_amp_endpoint’ ) && is_amp_endpoint() ) { if (extension_loaded(‘newrelic’)) { newrelic_disable_autorum( true ); } } } add_action(‘init’, ‘disable_newrelic_for_amp_pages’); We put this into a plugin […]




WordPress 4.x random crashes on nginx/PHP-FPM with SSH2

Hat tip to the Ubuntu bugs mailing list for pointing us in the right direction in solving this problem. Like any good WordPress host we are using SSH keys to provide secure FTP communications for installing/updating our WordPress sites.  Recently we noticed a perplexing issue where WordPress 4.x would crash when accessing the Settings screen or trying to delete a plugin. […]