---
title: "Discussion on \"How to get rid of ‘Temporary Folder Missing’ error while uploading media in WordPress\" | Hashnode"
description: "Discussion on \"How to get rid of ‘Temporary Folder Missing’ error while uploading media in WordPress\". 1) Locate wp-config.php file in the root of your wordpress site.\n2) Add following code after / That’s all, stop editing! Happy blogging. /:\n1 define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/'); \n3) Create a new folder temp in wp-content f..."
url: "https://hashnode.com/posts/how-to-get-rid-of-temporary-folder-missing-error-while-uploading-media-in-wordpress/616a635e53401f641ba18f78"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to get rid of ‘Temporary Folder Missing’ error while uploading media in WordPress](https://reuellobo.hashnode.dev/how-to-get-rid-of-temporary-folder-missing-error-while-uploading-media-in-wordpress?utm_source=hashnode&utm_medium=feed)

1) Locate wp-config.php file in the root of your wordpress site. 2) Add following code after / That’s all, stop editing! Happy blogging. /: 1 define('WP\_TEMP\_DIR', dirname(\_\_FILE\_\_) . '/wp-content/temp/'); 3) Create a new folder temp in wp-content f...

Oct 16, 2021 · 1 min read · reuellobo.hashnode.dev  
Read the article

## Written by

[Reuel Donald Lobo](https://hashnode.com/@reuellobo)

@reuellobo · India

  
[View profile](https://hashnode.com/@reuellobo)

Web Solutions Specialist

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
