WordPress Speed Up Service | WordPress Website Maintenance Packages Reply To: Missing a temporary folder., by rahvee If you define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/'); in the wp-config.php file, then it should take effect in get_temp_dir() function in wp-includes/functions.php. Sometimes you might need to do this, to specify a custom temp dir, to resolve the Missing a temporary folder error message. In previous posts on this forum, found by googling and using the search function on this forum to find the Missing a temporary folder error message, people have pasted the define line, using unicode quote-like characters, instead of the actual ASCII single quote characters. This is almost indistinguishable to a human reading the code (depending on your font), but the end result if you paste the wrong quote type into your wp-config.php file is WP_TEMP_DIR has no effect. Reply To: Missing a temporary folder.