Skip to content

Instantly share code, notes, and snippets.

@dougkeeling
Last active November 20, 2018 17:50
Show Gist options
  • Save dougkeeling/e5f50dc7a6aec97a6c623ac844bf4f8b to your computer and use it in GitHub Desktop.
Save dougkeeling/e5f50dc7a6aec97a6c623ac844bf4f8b to your computer and use it in GitHub Desktop.
[Set default WP file permissions] Run commands within the root Wordpress folder. #wordpress
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