Forums

WP Super Cache
WP_PLUGIN_DIR not defined (3 posts)

  1. Scott
    Member
    Posted 12 months ago #

    My install was not working because of WP_PLUGIN_DIR being defined in the wp-cache-config.php:

    if ( ! defined('WPCACHEHOME') )
    define( 'WPCACHEHOME', WP_PLUGIN_DIR . '/wp-super-cache/' );

    I had to man change to this
    if ( ! defined('WPCACHEHOME') )
    define( 'WPCACHEHOME', WP_CONTENT_DIR . '/plugins/wp-super-cache/' );

    I thought this was defined in the WordPress defaults?

  2. Donncha O Caoimh
    Member
    Posted 11 months ago #

    Yeah, it's defined in wp-includes/default-constants.php

  3. Scott
    Member
    Posted 11 months ago #

    realize that. I guess something is overriding it WP_PLUGIN_DIR was pointing to WP_CONTENT_DIR ...

Reply

You must log in to post.

About this Plugin

About this Topic