Redis Configuration
-
Hi,
We would like to use Redis through Hummingbird and would like to verify if our setup below in wp-config.php is correct. Redis is installed, running and connected through Hummingbird. We will be using BuddyPress also, so we have added exclusions for those pages as shown below and as suggested here – https://wpmudev.com/docs/wpmu-dev-plugins/hummingbird/#integrations
define('WP_CACHE', true); define('WP_CACHE_KEY_SALT', 'domainnamehere.com'); define( 'WPHB_REDIS_HOST', '<IP here>' ); // Added by Hummingbird define( 'WPHB_REDIS_PORT', <Port Number here> ); // Added by Hummingbird define( 'WP_REDIS_IGNORED_GROUPS', [ "bp_pages" ] );
In particular, must these lines be added to the wp-config.php file also?
define('WP_CACHE', true); define('WP_CACHE_KEY_SALT', 'domainnamehere.com');
We’re asking because many online articles suggest we add the two lines above, but we don’t see it being recommended in the documentation of the plugin.
Thanks.
- The topic ‘Redis Configuration’ is closed to new replies.