Report this

What is the reason for this report?

Wordpress Permission issue Ubuntu 16.04

Posted on December 7, 2016

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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.