Uploads Folder Permissions Fix

Assistant
Hey Neeraj! What's up? How can I help you today? ๐Ÿ˜Š
User
Uploads Folder Writable: No Uploads folder must be writable to allow WordPress function properly.
See changing file permissions or contact your hosting provider.
Assistant
That message means your WordPress site doesn't currently have write permissions to the `wp-content/uploads` directory โ€” which it needs in order to upload media like images and files.

Here's how to fix it depending on your environment:

### โœ… **If you're on a Linux server (Apache/Nginx):**

1. **Connect via SSH** or use your hosting's file manager.
2. Run this command from your WordPress root:

chmod -R 755 wp-content/uploads

> If that doesn't work, try:

chmod -R 775 wp-content/uploads

3. Then make sure the folder is owned by the web server. If you're using Apache, this might be `www-data`, or `apache`, etc.:

chown -R www-data:www-data wp-content/uploads

Replace `www-data` with the correct user for your web server if it's different.

### โœ… **If you're using a local setup like Docker or DDEV:**

Make sure the `uploads` directory is writable inside the container:

docker exec -it <your-container-name> chmod -R 775 /var/www/html/wp-content/uploads

(Adjust path as needed depending on your setup.)

### โœ… **If you're using cPanel/File Manager:**

1. Go to **File Manager** > `public_html/wp-content/uploads`.
2. Right-click the `uploads` folder โ†’ **Permissions** or **Change Permissions**.
3. Set permissions to **755** or **775** (check all read/write/execute for the owner).

Let me know your setup (e.g. shared hosting, Docker, DDEV, EC2, etc.) if you want more tailored commands.

Leave a Comment

Your email address will not be published. Required fields are marked *