You can exclude a specific directory by using the “Exclusions” option in the CDN Enabler settings page. Directories can be defined such as: wp-content/path/to/your/directory.
Also, if you are excluding multiple directories remember to separate each with a comma.
hello, thanks for the fast reply
i’ve Simple Custom CSS plugins installed
on the page source the link to the custom css is like that
https://website.com/?sccss=1&ver=4.5.3
when cdn is enabled the link becomes
https://cdn.website.com/?sccss=1&ver=4.5.3
the cdn link has no style, the original has the css styles
how can i exclude this plugins/url from cdn?
The Custom CSS file should still be deliverable via the CDN. As you can see, I set up a test file here using the CDN URL https://cdn.codyarsenault.com/?sccss=1&ver=4.5.3
Remember that if you made any changes to the Custom CSS file you need to purge that URL from your CDN zone.
Additionally, if you would like to exclude a specific file as you mentioned, you can move that file into a folder and then exclude it from within your CDN Enabler settings.
Can you do wild cards?
i.e. /wp-content/themes/mytheme/includes/lib/assets/fonts/icomoon/*,
or can I just put .php, .woff, .ttf ?
(and do you use or not a leading slash?) Your example doesn’t so thought I’d ask.
thanks!
stu