Title: SSL cert breaking
Last modified: August 21, 2016

---

# SSL cert breaking

 *  [gotdistracted](https://wordpress.org/support/users/gotdistracted/)
 * (@gotdistracted)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/ssl-cert-breaking/)
 * Hi,
 * I recently deployed the HTTPS protocol across my site. I notice that on pages
   where CF7 is working the SSL is breaking due to [http://mydomain.co.uk/wp-content/plugins/contact-form-7/images/ajax-loader.gif](http://mydomain.co.uk/wp-content/plugins/contact-form-7/images/ajax-loader.gif)–
   the .gif is loading via HTTP. I looked at the function for this and note the 
   use of is_ssl that should render the .gif over HTTPS, but this doesn’t appear
   to be working?
 * Thoughts please?
 * Thanks
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 1 replies (of 1 total)

 *  [dannyvince](https://wordpress.org/support/users/dannyvince/)
 * (@dannyvince)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/ssl-cert-breaking/#post-4659111)
 * I got around this exact same issue by taking the ajax-loader.gif from the CF&
   plugin folder uploading it into media directory then adding a custom function
   via this plugin [https://wordpress.org/plugins/functionality/](https://wordpress.org/plugins/functionality/)(
   or indeed you could add it directly into to your functions.php or child functions.
   php) depending on your template setup. Change the URL path to your own and et
   voilà!
 *     ```
       /* Custom ajax loader for CF7 so SSL cert doesn't break */
       add_filter('wpcf7_ajax_loader', 'my_wpcf7_ajax_loader');
       function my_wpcf7_ajax_loader () {
       	return ('http://www.YOURSITE.com/wp-content/uploads/YEAR/MONTH/ajax-loader.gif')';
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘SSL cert breaking’ 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

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 1 reply
 * 2 participants
 * Last reply from: [dannyvince](https://wordpress.org/support/users/dannyvince/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/ssl-cert-breaking/#post-4659111)
 * Status: not resolved