WPCACHEHOME using absolute path
-
Hi there,
I was just got called out to fix the problem one of the sites I manage is offlined which related to the WP Super Cache.
The problem being the hosting company have moved the container name of the webroot directory. It has no problem with the rest of the site but WSC because it using absolute path such as /home2/xxx/public_html/wp-content/plugins/wp-super-cache/ for WPCACHEHOME. Now the hosting company have changed the “home2” part to “home9” and the site just died very uglily.
I knew the hosting company will do something like this in the future so i replace the path with something like this: dirname( __FILE__ ).’/wp-content/plugins/wp-super-cache/’.
What I want is, can I please have the later versions of WSC to change that path to use dynamic path like what I have there instead of absolute path?
thanks!
- The topic ‘WPCACHEHOME using absolute path’ is closed to new replies.