WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Removes slash from end of path (1 post)

  1. creyes123
    Member
    Posted 1 year ago #

    I just updated my website to the latest version of W3TC (0.9.2.8). 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:
    wp-content/my-files/graphics/*

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic