How to i upload products from WordPress admin?

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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