Step 1. Enable LiteSpeed Cache Plugin
First, go to your site from the dashboard. Then, find the ‘WordPress’ option from the side navigation bar and toggle on the ‘LiteSpeed Cache’ button to enable the plugin from the ORIV dashboard. Once you toggle on the ‘LiteSpeed Cache’, you will get the ‘Redis User’, ‘Redis Password’ and ‘Redis Object Cache Key’ or Redis Prefix. Collect the credentials.[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Step 2: Access the wp-config.php file
Next, go to ‘WordPress’ → ‘WP Config’ from the sidebar to customize the wp-config file directly from the ORIV dashboard.[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.Once you are in the wp-config.php editor panel. Add the following code into the editor and update the username, password, and prefix with the Redis credentials you collected earlier from the LiteSpeed Cache page. After updating the values, click on the Update Config button to save the changes. Copy to clipboard 1 2 3
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Step 3: Turn OFF or Uninstall the Object Cache Plugin
To use the Redis Object Cache in OpenLiteSpeed servers, you need to prevent conflicts between caching systems. LiteSpeed Cache plugin handles both Full Page Cache and Object Cache, and Redis is already configured inside it.- If you want to use the Redis Object Cache plugin separately, you must either disable the Object Cache option in LiteSpeed Cache or uninstall the plugin entirely.
- If you want to continue using LiteSpeed Cache for full page caching only, then just disable the Object Cache option.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.You can also uninstall and deactivate the LiteSpeed Cache plugin. Just go to Plugins → Installed Plugins and locate ‘LiteSpeed Cache (LS Cache)’. Deactivate and uninstall the LS Cache plugin to prevent conflicts between caching systems.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Step 4. Install And Activate Redis Cache Plugin
Next, you will configure WordPress to use the Redis cache plugin. Log in to your WordPress admin dashboard. Navigate to ‘Plugins’ → ‘Add New’. In the search bar, type ‘Redis Object Cache‘. Click ‘Install Now‘ and then ‘Activate’.[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.After installing and activating the plugin go to the ‘Settings’ → ‘Redis‘ from the sidebar and just click on the ‘Enable Object Cache’ button from the dashboard.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.If configured correctly, you will see a success message indicating that Redis is connected. Look for the Overview tab. It should show:
Status: Connected Filesystem: Writeable Redis: ReacableIf you see these values, your Redis cache is active and working.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.And that’s it, this is how easily you can enable Redis Object Cache on OLS server with ORIV. With Redis successfully connected, your WordPress website will run faster, handle more traffic efficiently, and deliver a seamless experience to your users. Still stuck? Contact our dedicated support team for any of your queries.
