Hello
What is the best procedure for clearing cache with the CDN Rewrite Plugin. Can you recommend any plugin for it, such as Buster ?
I am btw using Max CDN since years for acceleration, and just switched to your plugin after giving up on W3 Total Cache.
Good work
]]>Hi there, I have an Instance of WP hosted with AWS. Have been trying to tweak the DNS settings all week and expended all possibilities within my knowledge bank. the site is at beta.brokenabacus.co.uk (brokenabacus.com should redrirect)
I’ve hit a stumbling block with my DNS settings here: https://www.whatsmydns.net/#CNAME/cdn.brokenabacus.com
and have no idea how to resolve the ‘Token mismatch’ error
I’m using MaxCDN with WP CDN Rewrite plugin. Support from various channels is conflicted and I just need someone experienced to point out my errors.
Hopefully someone can give some Samaritan type help to a low level developer
best wishes
Chris
Is there any way to exclude certain folders? In Gravity Forms, the CAPTCHA is being cached but the images no longer exist so not the CAPTCHA does not show. Need to exclude the GF folders.
]]>I would like to have tried this, but it hasn’t been supported in over a year.
]]>Hello,
I just updated to latest version but I getting error this Warning: “This plugin has not been tested with your current version of WordPress.”
I think maybe because you didn’t test this plugin with 4.6.1.
Compatible up to: 4.5.4 change this with 4.6.1 .
Anyways this plugin works nicely with my latest WordPress Version.
Thanks
]]>Hi there,
I want to Exclude specific file from CDN, is there a way I can do that?
Thanks
]]>Hi,
I would suggest to provide support to multisite.
Configuration only on Super Admin. No configuration in networke sites.
When Super Admin set CDN Root URL as “example-cdn.com”, all network sites will use that CDN URL automatically.
Currently, CDN for multisite is only available in WP Super Cache & W3 Total Cache.
But those plugin is static HTML caching plugin, which not useful for all website.
Would be the perfect plugin if SSL its added to it ??
This with a simple virtualhost directive or even nginx makes your websites fly!
]]>Hello,
looking at lines 73-76 it appears that there is no support for fonts. Is this something that is on the radar to add in support for?
Also, is there a github repo that PRs can be submitted against?
]]>Since version 4.4, WordPress has support for responsive images using a list of different files on srcset attributes on img element. The browser checks this list against the UA width and UA type and chose the best fitting one, instead de the one on the common src attribute
But when we used WP CDN Rewrite (both dreamhost and wpengine hosted sites), those image URLs on srcset are not rewritten to use your CDN (sub)domain.
We used the following function as a workaround. It uses the new wp_calculate_image_srcset filter to force WordPress to use CDN subdomains on srcset list.
We’re not sure this is the proper of most efficient way of doing it, so, we welcome anyone giving a try, testing it and contributing making pull request with a better solution on https://github.com/2aces/wordpress-srcset-cdn.
function aafd_cdn_srcset($sources){
foreach ( $sources as $source ) {
$sources[ $source['value'] ][ 'url' ] = str_replace('https://www', 'https://static1', $sources[ $source['value'] ][ 'url' ]);
// you MAY use external domains as well
// $sources[ $source['value'] ][ 'url' ] = str_replace('https://www.example.com', 'https://static.examplecdnprovider.com', $sources[ $source['value'] ][ 'url' ]);
}
return $sources;
}
]]>
Hi,
We have some problems that cause blank pages on admin
This is the error log
Sep 25 11:09:37 thenameofthesite: [Fri Sep 25 11:09:37 2015] [ERROR] [client xxx.xxx.xxx.xxx] PHP Fatal error: Internal Zend error – Missing class information for in /path/website/wp-content/plugins/wp-cdn-rewrite/wp-cdn-rewrite.php on line 16, referer: https://www.thenameofthesite.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.thenameofthesite.com%2Fwp-admin%2F&reauth=1
The name of the site and path was removed for site security.
Thanks for your help.
]]>Hi,
I’m trying to remove the ver=xxx from the end of the URL’s given by this plugin. Without the plugin, I just use this in the functions.php file:
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
That works fine. However, as soon as I enable this plugin – that gets overwritten, which means the ver=xxx is added back in. Any ideas on how to do this? I had a look at the code, but couldn’t work it out.
TIA
Andy
]]>Undefined variable: this
Getting this error in:
wp-content/plugins/wp-cdn-rewrite/vendor/voceconnect/voce-settings-api/voce-settings-api.php:154
WP 4.2.1, plugin version 0.1.5. Seems to only affect the CDN settings page.
]]>Hi
Since I wanted to get rid of W3TC I tried your plugin for CDN and it’s pretty good.
A few things I would like to see:
– add more directories.
Today it will correctly move to the CDN https://mysite/wp-content/*.jpg
but it the JPG are coded as such they will not be served by the CDN:
/wp-content/*.jpg
– I would also like to disable some files from the CDN
/wp-content/this-directory/*.jpg for instance
Thanks and good luck!
]]>hi – I know this is a PHP error but my site’s not generating an error log for some reason. wish I could contribute more. cheers.
]]>