CDN Url replacement
-
Hey there, I’m trying to configure a CDN, however when I include directories (e.g. wp-uploads) the url’s are re-written from:
mywebsite/wp-uploads/my-file.jpg
to:
cdn.mycdnname.com/wp-uploads/my-file.jpg
However my CDN does not include the subfolder, it hosts the files as follows:
cdn.mycdnname.com/my-file.jpg
I can see from the code that WPSC essentially just swaps out the Site URL with Off-site URL.
Does anyone have any suggestions on how I might be able to gracefully rewrite these without modifying the core plugin code?
Many thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘CDN Url replacement’ is closed to new replies.