WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Stripping of final "/" in path (1 post)

  1. monkeywrench2
    Member
    Posted 1 year ago #

    Hi,

    I updated W3 Total Cache to version 0.9.2.8. Now I'm getting a behavior that's new and undesirable.

    If I use the following javascript code:

    var $content_path = "<?php $content_url=site_url('/wp-content/uploads/movies/');echo $content_url;?>";
    alert($content_path);

    My output without using W3 Total Cache with CDN service is:
    http://www.symbologie.co/wp-content/uploads/movies/

    But when I use the plug-in and W3 Total Cache with CDN service the output is:
    http://cdn.symbologie.co/wp-content/uploads/movies

    It strips the trailing slash.

    I’m using javascript to append a filename to the path and I should be getting the same behavior using your service or not!

    Is there anything that can be done to get the old correct behavior back?

    Thanks

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic