Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M Maknep
  • Project information
    • Project information
    • Activity
    • Members
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • Lazaridis Ioannis
  • Maknep
  • Wiki
  • Commands to Clean Up and Optimize

Commands to Clean Up and Optimize · Changes

Page history
Update Commands to Clean Up and Optimize authored Oct 05, 2020 by Lazaridis Ioannis's avatar Lazaridis Ioannis
Show whitespace changes
Inline Side-by-side
Commands-to-Clean-Up-and-Optimize.md
View page @ 798b4cfb
...@@ -3,6 +3,10 @@ These WP-CLI commands are all very handy for basic housekeeping of your site. Th ...@@ -3,6 +3,10 @@ These WP-CLI commands are all very handy for basic housekeeping of your site. Th
Add this at the end of each command for root prems `--allow-root` Add this at the end of each command for root prems `--allow-root`
### Important
To update all the plugins you can use `wp plugin update --all --allow-root`<br>
To create database & file backup you can use `wp updraftplus backup`
### 1. Purging Cache ### 1. Purging Cache
In this example, object caching is enabled on the site on our Managed WordPress or Managed WooCommerce, if you need to clear the object cache, use: In this example, object caching is enabled on the site on our Managed WordPress or Managed WooCommerce, if you need to clear the object cache, use:
```wp cache flush``` ```wp cache flush```
......
Clone repository
  • Alerts Notice
  • Analytics
  • Backup
  • Cerber Anti Spam
  • Commands to Clean Up and Optimize
  • Hummingbird
  • Plugins
  • Simple maintenance routine Guide
  • Slider Revolution
  • Smush
  • WP Bakery Page Builder
  • Wordfence
  • Yoast SEO
  • Home
  • Προσθήκη και επεξεργασία σκαφών.
View All Pages