If you’re trying to upload Media in WordPress and get the error shown in the screenshot below, you can follow the steps in this article to solve the issue.
The “Is its parent directory writable by the server?” error occurs when WordPress can’t recognize the location of the uploads folder.
This typically happens when you’ve moved to a new hosting provider. To fix it, you need to modify your WordPress config file.
Steps To Fix The Error
- Login to cPanel and click the File Manager icon and then enter the public_html folder. Look for the wp-config.php file and click the Edit button in the File Manager top menu.
- Add the following code in the wp-config.php file:
define( 'UPLOADS', 'wp-content/uploads' );
before this line:
require_once(ABSPATH . 'wp-settings.php');
- Save the file wp-config.php. That’s it, now you can try uploading media in WordPress.