Support » Plugins and Hacks » Removes slash from end of path

Removes slash from end of path

  • I just updated my website to the latest version of W3TC ( An inline included Javascript had the following line:

    Javascript (original):
    ts.graphicsDir = ‘http://domain.com/wp-content/my-files/graphics/’;

    W3TC was changing it into this, which broke the JS library:

    Javascript (munged):
    ts.graphicsDir = ‘http://cdn6.domain.com/wp-content/my-files/graphics’;

    I fixed the problem by adding an exception to W3TC:

    CDN settings, Rejected files:


  • The topic ‘Removes slash from end of path’ is closed to new replies.