Add the following code to your config file (wp-config.php):
define('WP_REDIS_CONFIG', [
'token' => 'fe71928c203d43745346f06f85279913ebc6a2123f869ae20f94a194616faab0',
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
'maxttl' => 3600 * 24 * 7,
'timeout' => 1.0,
'read_timeout' => 1.0,
'split_alloptions' => true,
'debug' => false,
]);
define('WP_REDIS_DISABLED', false);
Sửa lần cuối bởi điều hành viên:
