Installing Redis for WordPress

What is Redis?

Redis is a caching method in which frequently requested data is stored directly in the Redis cache on the first visit. WordPress relies on the MySQL database, from which data is retrieved on every visit. By using Redis, there’s no need to search the MySQL database for the requested data each time.

And now in plain English?
Imagine a supermarket that has nothing in stock. The employee (in this case, MySQL) has to walk to the warehouse every time to retrieve the requested products. In a large supermarket with many visitors, it takes longer to find these products. If these products are already in stock rather than in the warehouse, the whole process is much faster!

Why Redis?

The reason is simple: speed!
A beautiful website or online store that doesn't load quickly is a huge waste, because a fast-loading website is better for your search engine optimization and therefore helps people find you. Plus, people want to find what they're looking for quickly.

How do you install Redis in WordPress?

Enabling Redis is actually quite simple.


Step 1 is to create a Redis database in the control panel. Under Additional Features, you'll find Redis Management.

Step 2 is to enable Redis in PHP Settings, under Additional Features > “Select PHP Version”.

Step 3 is to add 3 lines of code to wp-config.php. You can find this file by logging in via FTP or through the control panel under System Information and Files > File Manager. Then click public_html and open the wp-config.php file. Under the heading

Step 4 is to install the Redis plugin for WordPress so that WordPress can communicate with the Redis database we just created. Go to the WordPress website installed on your account.

You can then test the website. If all goes well, your website will now be much faster than before!
Is your website still not faster, or did the installation fail? Send an email to info@wpprovider.nl

Request web hosting

Request your hosting account below!

Request a benchmark now

Do you feel like your website could be faster? Let us run a benchmark. We guarantee that your website will run faster on our hosting!