To enable Redis, you’ll have to have Redis installed on your site. You can request this from Servebolt support. There are multiple plugins available to enable Redis for WordPress. This example uses the plugin Redis Cache which has 60K installs and is actively maintained. After you have received confirmation from support that Redis is enabled for your site, you can enable it by following this recipe. Add the configuration to wp-config.php Add configuration using wp-cli from the command line: 1$ wp config set WP_REDIS_PATH --raw "__DIR__ . '/../redis.sock'" 2$ wp config set WP_REDIS_SCHEME "unix" alternatively, you can do this by editing wp-config.php and adding the following defines: 1define('WP_REDIS_PATH', __DIR__ . '/../redis.sock'); define('WP_REDIS_SCHEME', 'unix'); Please not that if you are running WordPress out of some other directory or subfolder, you’ll have……
Continue reading