How to enable Redis Object Cache on your free WordPress hosting?

  1. If you have object caching enabled on your WP Total Cache plugin, disable it from you WP dashboard >> Performance >> General Settings >> Object Cache.

  2. Go to Plugins >> Add New. Search for Redis Object Cache. Install the plugin and Active.

    Redis Object Cache

  3. Go to Plugins and click on Settings button of Redis Object Cache plugin.

    Setting of Redis Plugin

  4. Click on Enable Object Cache.

    Enable Object Cache

  5. Make sure the status display as connected.

    Redis status Connected

  6. We recommend to take backup of wp-config.php on this step.Add following lines within wp-config.php to keep the caching consistent on page reloads.

    define(‘WP_CACHE_KEY_SALT’, ‘example.com’);
    define(‘WP_CACHE’, true);

    Replace the example.com with your actual domain name.

That’s it. You have successfully enabled Redis on your WordPress.

Related Articles

How to enable two factor authentication in Wordpress?

We will learn how to enable two-factor authentication in Wordpress using Google Authenticator in...

How to Increase maximum execution time for a WordPress Site?

You may receive the below error for your Wordpress while installing/updating themes or plugins....

How to Disable WordPress Pingback to Prevent Pingback Brute Force and DDoS Attacks?

WordPress has become the most popular CMS and it continuously increases its market share. On the...

How to change your Wordpress website URL?

It is very easy to change your WordPress URL. You just need to put below code into the...

Fix-Your PHP installation appears to be missing the MySQL extension which is required by WordPress

Usually, this error does occur when you are using an incompatible PHP version with your current...

  • 36 Users Found This Useful

Was this answer helpful?