Disable wp-cron.php for performance issue

Recently , some wordpress base website suffer from slow performance, and even be deactivated by the hosting provide. One big problem is cause by  wp-cron.php.   The easiest way to solve it is disable it. You could add this line to wp-config.php:   define('DISABLE_WP_CRON', true);   Done.   More clean solution could be found below: […]

How to Lose $440 Million in 30 Minutes

Post from http://dougseven.com/2014/04/17/knightmare-a-devops-cautionary-tale/ This the story of how a company with nearly $400 million in assets went bankrupt in 45-minutes because of a failed deployment. Background Knight Capital Group is an American global financial services firm engaging in market making, electronic execution, and institutional sales and trading. In 2012 Knight was the largest trader in […]

How to rename a mysql database name

Mysql workbench does not provide a way to easily rename a database. However,you could use those commands in the terminal mysqldump -u username -p -v olddatabase > olddbdump.sql mysqladmin -u username -p create newdatabase mysql -u username -p newdatabase < olddbdump.sql Or SELECT concat('RENAME TABLE $1.',table_name, ' TO $2.',table_name, ';') FROM information_schema.TABLES WHERE table_schema='$1'; ($1 […]

CSV – Excel – Saving Accented Characters

CSV – Excel – Saving Accented Characters Problem: I need to import my modified Excel file containing accented characters (French, German, etc) into my database system. Solution: If you’re using Microsoft Excel to create your CSV file, you may run into an issue: When you’re using accented characters (such as é, ç, ü, etc.) – […]

Downgrade WordPress from 4.4 to 4.2

If you find some plugins does not work with your current wordpress version, you might want to downgrade your latest version to the old one. Here how it works: Backup your old site, expecially the wp-content , .htaccess and wp-configure.php Download the older version from https://wordpress.org/download/release-archive/ Uzip the older version zip file, delete the wp-content […]

Improve your website speed

https://developers.google.com/speed/pagespeed/insights Is very useful in testing your web site speed. It will give you all the information about why your website is slow. The most easy way to make your site faster is compress your images. Optimize images Using small size images can greatly reduce your download time. Gzip compress Enable Gzip compress is the […]

Optimize your website

Problem Lots of our team members found our web site is really slow these days, they are asking us to investigate the issue and optimize our website Benefits Improve our website performance will greatly improve our work efficiency and customer experience, while I am doing the investigation ,I also find that it can increase your web […]