• Resolved danielgomon

    (@danielgomon)


    This is the problem, I have a VPS with 2 websites, when I enable this plugin on both, it mess everything around.

    One website shows the wrong homepage, and in the admin pages, it disables plugins from one another, because the folders are not present. The plugin merges both websites into “one cache”.

    Is there a way to prevent this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hi @danielgomon,

    To keep separate object caches, you can set a WP_CACHE_KEY_SALT constant with a unique value for each site. This will generally applied to all WordPress object caches you might use, not just WP LCache.

    Hope this helps.

    eblow

    (@eblow)

    Dear Daniel,

    could you elaborate more on how to set the key? I have multiple hosting on a single VPS server running cPanel v78./WHM

    • This reply was modified 6 years ago by eblow.
    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    @eblow Sure, you’ll want to set the WP_CACHE_KEY_SALT constant in your wp-config.php file, e.g.:

    
    define( 'WP_CACHE_KEY_SALT', '7a01a5fa0227fa12f684d81eefb02d16' );
    

    Importantly, the value of the constant should be different for each wp-config.php file.

    • This reply was modified 6 years ago by Daniel Bachhuber. Reason: Clarification
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple websites conflict’ is closed to new replies.