Knowledge Base   /   Public Articles
File upload problem in WordPress
Posted on 06 July 2024 12:27 pm

In the following example, the site path will be:

/home/user/

And the path for the WordPress program is:

/home/user/public_html/wordpress

  1. Log in via FTP, then create a new folder named:

wptmp

The path of the folder will be:

/home/user/wptmp

Set the folder's permissions to 777.

  1. Navigate to the WordPress folder, which in our case is:

/home/user/public_html/wordpress

Edit the wp-config.php file and add the following line:

define('WP_TEMP_DIR', '/home/user/wptmp');

Then save the file.

  1. Also, ensure the wp-content/uploads folder has permissions set to 777:

/home/user/public_html/wordpress/wp-content/uploads

Do you still need help? Submit ticket