I am trying upload an image in media library, on browsing the images its shows that the image is uploading, but after that image could not be uploaded and it shows this error--

top-long-bg.jpg Missing a temporary folder.

1 Answer 1


open file wp_config.php and add code

define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');

via ftp in the folder /wp-content, create a new catalog /temp/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.