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 is based on the MySQL database, and data is requested from this database on every visit. When using Redis, there is no need to search the MySQL database again and again for the requested data.

And now in Dutch?
Think of it as a supermarket where nothing is in stock. The employee (in this case MySQL has to walk to the warehouse each time to retrieve the requested products. In a large supermarket with many visitors, it will take longer to look for these products. If these products are already in stock and not in the warehouse then the whole process is a lot 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 your discoverability. Besides, people simply want to find what they’re looking for quickly.

How do you install Redis within WordPress?

Activating Redis is actually quite simple.

Step 1 is to create a Redis database in the control panel.
Under the heading additional features you will find Redis management.

Step 2 is to enable Redis in the PHP Settings under the Additional features heading “Select PHP Version.”

Step 3 is to place 3 lines of code in wp-config.php You can find this file when logging in via FTP or from the control panel via System info & Files à File manager. Then click on public_html and open the file wp-config.php. 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. Log in to the WordPress website installed in your account.

You can then test the website. It should be much faster than before!
If your website hasn’t become faster or the installation fails, please email 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!