Title: [Plugin: Contact Form 7] Changing CF7 javascript URLs
Last modified: August 19, 2016

---

# [Plugin: Contact Form 7] Changing CF7 javascript URLs

 *  [cosmictap](https://wordpress.org/support/users/cosmictap/)
 * (@cosmictap)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-changing-cf7-javascript-urls/)
 * I am trying to offload scripts onto a CDN, as they are slowing down my site loading
   time.
 * I’d like to change the location that CF7 calls its scripts from. I believe it
   calls two scripts:
 * [http://www.mysite.com/wp-content/plugins/contact-form-7/scripts.js?ver=2.2.1](http://www.mysite.com/wp-content/plugins/contact-form-7/scripts.js?ver=2.2.1)
   
   and [http://www.mysite.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m](http://www.mysite.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m)
 * I’m hoping someone can tell me where I can override this so that they are called
   from:
 * [http://cache.mysite.com/wp-content/plugins/contact-form-7/scripts.js?ver=2.2.1](http://cache.mysite.com/wp-content/plugins/contact-form-7/scripts.js?ver=2.2.1)
   
   and [http://cache.mysite.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m](http://cache.mysite.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m)
 * Ideally I’d like to do this so that it doesn’t “break” the next time I upload
   the plugin, but I realize this may be problematic. 🙂
 * thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-changing-cf7-javascript-urls/#post-1571872)
 * Everything might be simplified for you if you used W3 Total Cache for your caching
   and CDN plugin: [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)(
   use the development version: [http://wordpress.org/extend/plugins/w3-total-cache/download/](http://wordpress.org/extend/plugins/w3-total-cache/download/))
 *  Thread Starter [cosmictap](https://wordpress.org/support/users/cosmictap/)
 * (@cosmictap)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-changing-cf7-javascript-urls/#post-1571893)
 * Thanks, I actually am using your plugin, but still haven’t figured out how to
   get those specific scripts to load from the CDN.
 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-changing-cf7-javascript-urls/#post-1571894)
 * You need to add them to the minify groups on the minify tab, or you can try using
   the help tool if you’re using the development version.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Contact Form 7] Changing CF7 javascript URLs’ is closed to new
replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)
 * [uri](https://wordpress.org/support/topic-tag/uri/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-changing-cf7-javascript-urls/#post-1571894)
 * Status: not resolved