Cart

    Sorry, we could not find any results for your search querry.

    Enabling Redis for a WordPress website

    With our Web Hosting packages you have the option to use different caching options. To use Redis on your WordPress website, a few simple steps are required. In this article we explain these steps.

    Do you use a Managed WordPress package? The correct caching methods are automatically configured for you. In this case, you do not have to perform these steps.


    Enabling Redis on a WordPress website

     

    Step 1:

    Follow the steps via this link to enable Redis via your control panel. Write down/remember the following information, you will need it for the next step:

    redis enabled

    • The Host/Server. This is always a short code based on your domain name followed by '.redis.transip.me'.
    • The Port number.
    • The Password you entered.

    You can always change your password by clicking the three dots on the right, followed by 'Edit'.


     

    Step 2:

    The plugin you install in step 3 needs a few settings from your wp-config in order to work properly. So to make thep 3 go smoothly, edit your wp-config.php file first.

    Open your File Manager via the control panel and click on the 'wp-config.php' file in your 'www' folder. Click 'Edit' and paste these lines just above the line '/* That's all, stop editing! Happy blogging. */':

    /**
    * REDIS config
    */
    
    define('WP_REDIS_HOST', '<Host>');
    define('WP_REDIS_PORT', '<Port');
    define('WP_REDIS_PASSWORD', '<Password>');
    define('WP_REDIS_MAXTTL', '86400');

     Replace <Host>, <Port>, and <Password> with your own Redis data from step 1.


     

    Step 3:

    Log in to your WordPress dashboard via '<yourdomainname.com>/wp-admin' and install the plugin called 'Redis Object Cache'. Activate the plugin and then click 'Enable object cache'.

    redis objhect cache enabled

    You will now see a green check mark and 'Connected' next to 'Status'. Redis is now enabled on your WordPress website!


     
    In this article we explained how to enable Redis for a WordPress website.
     
    Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact us’ button at the bottom of this page.

    Need help?

    Receive personal support from our supporters

    Contact us