Last active
April 9, 2022 22:19
-
-
Save feliperomero3/45ae0960a674991b00b0b8e124c964e7 to your computer and use it in GitHub Desktop.
WordPress Utilities
This file contains 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
# https://wp-cli.org/#installing | |
wp plugin install limit-login-attempts --activate | |
wp plugin install check-email --activate | |
wp plugin install contact-form-submissions --activate | |
wp plugin install preferred-languages --activate | |
wp plugin install duplicator --activate | |
wp plugin install smtp-mailer --activate | |
wp plugin install login-logo --activate | |
wp plugin install disable-xml-rpc --activate | |
wp plugin install antispam-bee --activate |
This file contains 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
# Go to wordpress installation root directory | |
cd /path/to/wordpress | |
# Give ownership to Apache2's PHP process | |
sudo chown -R www-data:www-data . | |
# Apply files and directories permissions | |
sudo find . -type f -exec chmod 664 {} + | |
sudo find . -type d -exec chmod 775 {} + | |
sudo chmod 644 wp-config.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment