Question

How to i upload products from WordPress admin?

Posted February 12, 2020 187 views
Control Panels

Hi everyone, my question is how to upload products from WordPress admin panel. As I open Administrator there I found an option of products. There I open add new product after submitting every details when I try to upload a product image WordPress gave me an error written “Forbidden, you can not upload images”.
Anybody know its solution?

edited by MattIPv4

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @adventuresdream,

The image upload issue in WordPress is typically caused by incorrect file permissions.

You’ll need to SSH to your droplet

ssh root@YourDropletIP

As soon as you are in, go to /wp-content/ folder in your DocumentRoot. Inside, you’ll find the uploads folder, which is where WordPress stores all your media uploads including images. You’ll need to make the permissions of the folder 755 and to all files as 644. You can achieve this by executing the following two commands

find /path/to/your/wp-contet/ -type f -exec chmod 644 {} \;
find /path/to/your/wp-contet/ -type d -exec chmod 755 {} \;

Regards,
KDSys

Submit an Answer