• Hi. I want to use the CDN feature. To do this currently this superb plugin allows me to rename files like this:

    FROM: https://mysite.com/cms/wp-includes/js/prototype.js
    TO: https://cdn.mysite.com/cms/wp-includes/js/prototype.js

    But I want to change the *manner* in which this rewriting happens:

    FROM: https://mysite.com/cms/wp-includes/js/prototype.js
    TO: https://cdn.mysite.com/inc/js/prototype.js

    How do I do this?

    Thanks!

    https://www.ads-software.com/extend/plugins/wp-super-cache/

Viewing 1 replies (of 1 total)
  • You can’t do it easily. I’d use an output buffer to change links to static files and then make sure that the files are pushed to my CDN. You’d probably have to symlink the “inc” directory on your local server to cms/wp-includes/ but then you’re stuck for other files like uploaded images..

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Super Cache] Static file URL rewriting..’ is closed to new replies.