Support » Plugin: WP Super Cache » WP_PLUGIN_DIR not defined

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP_PLUGIN_DIR not defined’ is closed to new replies.