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

Posted November 15, 2018 678 views
WordPressUbuntu 16.04

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.

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.

Submit an Answer
2 answers

Hey friend!

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

chown -R www-data. /var/www


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!

by Ramesh Jha
If you read through this article you'll have the knowledge to migrate your WordPress site from Shared Hosting to a Cloud Server with zero downtime.