Question

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 576 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.

×
2 answers

Hey friend!

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

chown -R www-data. /var/www

Jarland

Hello, @aadityabhatta

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

https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-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:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04

Hope that this helps!
Regards,
Alex

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.
Submit an Answer