CDN Rewrite
-
I need a plugin, which will rewrite all images/css/js url’s to CDN.
There is bunch of plugins but none of them fulfil my requirements.
I have found https://wordpress.stackexchange.com/questions/2490/what-is-the-best-caching-option-for-wordpress-multi-site-on-non-shared-hosting/2494#2494 which is probably that what I need, but it doesn’t work.
Here are my simple needs, which I believe, are useful for a lot of users.
I need plugin where I can “remap” static content, ex:
src: /wp-content/themes/currentTheme -> https://mycustomcdn.com/theme
src /wp-content/uploads -> https://mycustomcdncom/imagesI have found https://www.ads-software.com/plugins/image-url-rewrites-for-cdn/ which is close to my requirements, but it is rewriting only images into a post. It does not rewrite “featured image” as well as theme files.
I have tried to edit the plugin and make a filter to trigger on add_filter(‘wp_get_attachment_image_src’,’dcr_replace_content_cdn’);
but unsuccessful (I am not familiar with creating wp plugins from scratch).
- The topic ‘CDN Rewrite’ is closed to new replies.