Quantcast
Channel: Bauer-Power Media
Viewing all articles
Browse latest Browse all 645

The Correct File Permissions For Wordpress in Ubuntu

$
0
0
At my company we use Wordpress as a pretty front-end to our custom home-grown applications. The reason we do this is so that the Marketing team can easily update the website without the need of a developer.

We run Wordpress ourselves using Ubuntu Linux, and I ofter hear people complain that there is a message in the admin dashboard that says stuff like "Please make sure your .htaccess file is writable" or if someone wants to add a plugin, they are prompted for FTP information.

To fix all of that I just set the correct permissions in the directory where our Wordpress files are located. Let's say we keep them in /var/www, to set the correct permissions you would run:
sudo chmod 755 /var/www/ -R
Then you would make sure the Apache2 user had ownership by running:
sudo chown -R www-data:www-data /var/www
That's it! Now your users will be able to install plugins, perform Wordpress upgrades etc. without any issues!
Enhanced by Zemanta

Viewing all articles
Browse latest Browse all 645

Trending Articles