Hi Menewsha,
Many thanks for creating this add-in, and for sharing it with us.
I have combined my .js files recently myself, but I didn't know how to combine my two .css files. I just installed your add-in, configured it to minify and combine only .css, and tested it. It worked!
Now, instead of two .css files, when I check my source I only see one. I'm very much grateful to you for this!
However, I run my site via a CDN (Content Delivery Network), and I need to find a way to change the URL
from:
Code:
www.example.com/cache/
to:
Code:
cdn.example.com/cache/
The method I use for changing URLs of other static content doesn't seem to work for the .css file generated by your product.
For other static content (.js, .jpg, .gif, and even my old .css files), I simply created a Replacement Variable in the Replacement Variable Manager, but creating one for
www.example.com/cache/ ---> cdn.example.com/cache/ doesn't change the www to cdn.
Maybe the combineit.php should be edited somehow to address my specific requirement?
I still want the plug-in to save the combined .css to the same directory ( www.example.com/cache/ ), but I need the URL in the html of my page to be cdn.example.com/cache/
Any assistance with this would be greatly appreciated.
Kind regards,
Marvin