WordPress.org

Forums

W3 Total Cache
Custom wp-content directory causes minification to break (1 post)

  1. Incendiary
    Member
    Posted 2 years ago #

    Hi,

    We have WordPress set up as an SVN external so we need to specify a different wp-content directory.

    WordPress is located in /wp and wp-content in /wp-content

    Unfortunately when W3TC creates the links for the minified CSS & JS it incorrectly builds the links as /wp/wp-content instead of /wp-content

    e.g. http://www.example.com/wp/wp-content/w3tc/min/1b39635f.71acbf.js?w3tc_preview=1

    Should be
    http://www.example.com/wp-content/w3tc/min/1b39635f.71acbf.js?w3tc_preview=1

    This "fixed" link when visited work as expected.

    Is this a known issue? My initial workaround was going to be to write a mod_rewrite rule to redirect, but are there are better fixes?

    http://wordpress.org/extend/plugins/w3-total-cache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic