WordPress define cheatsheet

Blog Address and Site Address

define('WP_HOME', 'https://digwp.com');
define('WP_SITEURL', 'https://digwp.com');

define('TEMPLATEPATH', '/absolute/path/to/wp-content/themes/active-theme');
define('STYLESHEETPATH', '/absolute/path/to/wp-content/themes/active-theme');

define('WP_CACHE', true);      // enable the cache
define('ENABLE_CACHE', true);  // enable the cache
define('CACHE_EXPIRATION_TIME', 3600); // in seconds
define('WP_CACHE', false);     // disable the cache
define('DISABLE_CACHE', true); // disable the cache
define('WP_DEBUG', true); // enable debugging mode
define('WP_DEBUG', false); // disable debugging mode (default)
define('WP_MEMORY_LIMIT', '64M');
define('WP_MEMORY_LIMIT', '96M');
define('WP_MEMORY_LIMIT', '128M');

Failed to decode downloaded font

if you have  issue with failed to decode downloaded font: this way is the best for resolve it, i have tried it and work with re upload font awesome with zip and then unzip in the cpanel.

I just had the same issue – but with Font Awesome, which is a really well known font. Turned out this was caused by a problem with FTP. The file was uploaded as text (ASCII) instead of binary, which corrupted the file. I simply changed my FTP software to binary, re-uploaded the font files, and then it all worked.