I transferred my WordPress website from shared hosting to DO. Now I am not able to upload images and file in the website.

I have tried changing permissions of the uploads folder. I also tried increasing memory limit in the .htaccess file. Nothing has worked for me. The website was working fine before i transferred the website from shared hosting in Namecheap.


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.

Hello, @aadityabhatta

I would recommend following the steps here on how to migrate a Wordpress website to a DigitalOcean droplet with no downtime:

Additionally you can check all the steps and the prerequisites in the How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu article here as well:

Hope that this helps! Regards, Alex

Hey friend!

Try this command over console or SSH, and see if it helps:

chown -R www-data. /var/www