Support » Plugin: Redis Object Cache » mixing content

  • Resolved dimahali

    (@dimahali)


    I installed Redis on one of my VPS which is hosting multiple sites. Surprisingly, when I activated the Redis object cache plugin on all sites, it interchanged the site’s content, i.e. example1.com site started showing the content of the example2.com site. am I missing some extra configuration?

    And is there a way to connect to Redis that is password protected?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Yes, you must separate each sites into their own database:

    
    define('WP_REDIS_DATABASE', 0);
    define('WP_REDIS_DATABASE', 1);
    define('WP_REDIS_DATABASE', 2);
    // ...
    

    Afterwards run redis-cli FLUSHALL to wipe everything.

    Thread Starter dimahali

    (@dimahali)

    thank you for the response. any option for password protected Redis?

    Plugin Author Till Krüss

    (@tillkruess)

    Yes, you can password protect Redis, even individual databases.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.