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.
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
Hey friend!
Try this command over console or SSH, and see if it helps:
chown -R www-data. /var/www
Jarland