How to Activate AccelerateWP Using CloudLinux

November 4, 2024 / Servers, Hosting & Email

This article explains how to activate AccelerateWP through CLI.

Follow the guide:

  1. Scan and Deploy AccelerateWP Across All Domains
    Execute the following command to scan all server domains in background mode, deploy the plugin, and force activation of AccelerateWP on applicable WordPress sites:

    cloudlinux-awp-admin enable-feature –all
  2. Check Activation Status
    Run the following command to check the activation status:
    cloudlinux-awp-admin enable-feature –status
  3. Enable AccelerateWP for All Users (manual Plugin Installation)
    To enable AccelerateWP for all users and let site owners install the plugin manually:

    cloudlinux-awp-admin set-suite --suites accelerate_wp --users all --allowed-for-all
  1. Enable AccelerateWP Premium Features for All Users
    If you want to enable premium features of AccelerateWP for all users:

    cloudlinux-awp-admin set-suite --suites accelerate_wp,accelerate_wp_premium --users all --allowed-for-all
  2. Enable AccelerateWP for a Specific User:
    To enable AccelerateWP and its premium features for a particular user:

    cloudlinux-awp-admin set-suite --suites=accelerate_wp,accelerate_wp_premium --allowed --users=<username>
  3. Enable AccelerateWP Redis Object Cache Feature (Without SmartAdvice):
    To enable the Redis object cache feature for a specific domain without SmartAdvice, log in as the user and run the following command:

    su – exampleuser
    cloudlinux-awp-user enable --domain “<domain_name>” --wp-path “<relative_to_docroot_path_to_wordpress_installation>” --feature=object_cache

    Note: The accelerate_wp_premium option must already be activated for the user.

  4. Enable the AccelerateWP Plugin:
    To enable the AccelerateWP plugin for a specific domain:

    cloudlinux-awp-user enable --domain “<domain_name>” --wp-path “<relative_to_docroot_path_to_wordpress_installation>” --feature=accelerate_wp
  5. Enable Both AccelerateWP and Object Cache:
    To activate both AccelerateWP and object cache features, run:

    cloudlinux-awp-user enable --domain “<domain_name>” --wp-path “<relative_to_docroot_path_to_wordpress_installation>” --feature=accelerate_wp,object_cache

Note: The commands above should be executed while logged in to the specific user account.

With these steps, you are ready to activate AccelerateWP through the CLI. If any issues arise, our support team is available to help.

Need to monitor CloudLinux limits? Check out How to Monitor and Modify CloudLinux Package Limits

Spread the love