1. Home
  2. Docs
  3. Infrastructure
  4. CloudPages

CloudPages

We use CloudPages to manage WordPress websites.

Restart LiteSpeed

I don’t know yet, how to restart LiteSpeed from CloudPages. But from SSH:

sudo systemctl restart lshttpd

Purge/Clear LiteSpeed Cache

sudo rm -rf /usr/local/lsws/cachedata
# Then restart LiteSpeed
sudo systemctl restart lshttpd

How to Change WordPress Site URL using WP CLI

In CloudPages-managed server, to use WP CLI you need to specify PHP binary path. Example:

sudo -u USERNAME bash
cd /home/SITE_ID
/usr/local/lsws/lsphp80/bin/php /usr/bin/wp search-replace 'https://next.garudasystrain.co.id' 'https://www.garudasystrain.co.id' --skip-columns=guid
/usr/local/lsws/lsphp80/bin/php /usr/bin/wp cache flush

ModSecurity WAF and OWASP Rules

Be aware that some OWASP Rules may interfere with Elementor page builder editor functionality. But Hendy has not found out which specific rule(s).

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *