By letstalk
Hello I recently Moved one of my existing site from the older hosting to the new Droplet at the Digital ocean. When I moved all the files yet I wasn’t able to see the output of the files. It always showcased error 500. So at the droplet I ran a command sudo chown -R www-data:www-data /var/www/html/<siteFolder> So my website homepage was live. When I move from any other page It shows Page Not Found
The requested URL /product/millennial-backpack-extended/ was not found on this server.
While I am able to login in my Wordpress admin backend everything is fine there. Also redo the permanant links as well. Still the issue persist. I am unable to access any page other than the homepage of the site.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
After resetting the permalinks settings the next thing I would check in this case is your Apache configuration file in /etc/apache2/sites-enabled/ Inside a <Directory /var/www/html/> section you will need to make sure that AllowOverride All is set instead of AllowOverride None. This setting allows apache to use directives placed in .htaccess files (the way WordPress does permalink rewrite settings).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.