Skip to content

Instantly share code, notes, and snippets.

@felipepodesta
Forked from fordnox/plugin-enabler.sh
Created July 18, 2017 20:52
Show Gist options
  • Select an option

  • Save felipepodesta/a73d74e5a27cf013775fa07b4909cd16 to your computer and use it in GitHub Desktop.

Select an option

Save felipepodesta/a73d74e5a27cf013775fa07b4909cd16 to your computer and use it in GitHub Desktop.
Enable cache plugin for wordpress
#install wp-cli on server https://github.com/wp-cli/wp-cli
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
#install cache plugin to wordpress
curl -O https://raw.githubusercontent.com/bluehost/endurance-page-cache/master/endurance-page-cache.php
#activate plugin
wp plugin activate epc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment