Last active
July 6, 2016 03:12
-
-
Save rileypaulsen/50d53b492d431ef3e1de to your computer and use it in GitHub Desktop.
Set correct file permissions for WordPress. Must be run from the root of the WP directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown -R www-data:www-data . | |
sudo find . -type f -exec chmod 664 {} + | |
sudo find . -type d -exec chmod 775 {} + | |
sudo chmod 660 wp-config.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment