Forums

WP Super Cache
please update WPCACHEHOME path to something more dynamic (1 post)

  1. Paul Goodchild
    Member
    Posted 5 months ago #

    Hi,

    We run Worpit.com / WorpDrive backup and we're seeing users who use WP Super Cache, so that when they restore their site, they get PHP include errors because the WPCACHEHOME value is a static value added to the wp-config.

    If you move this site to another server, this value is broken immediately.

    Instead, you could use a relative path, such as:

    define( 'WPCACHEHOME', __FILE__.'/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager

    Or even better, would be to use the WordPress constant: WP_CONTENT_DIR, or the other WordPress constant ABS_PATH.

    Anything else would do, because hard-coding the path causes problems.

    We would be very grateful if you could update your plugin to support relative paths.

    Many thanks!
    Paul.

    http://wordpress.org/extend/plugins/wp-super-cache/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 5 months ago by Paul Goodchild
  • This topic is not resolved
  • WordPress version: 3.4.2