Title: SSL and https
Last modified: August 22, 2016

---

# SSL and https

 *  Resolved [WebMaster](https://wordpress.org/support/users/marketing-master/)
 * (@marketing-master)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ssl-and-https/)
 * When I activate SSL and use https on my site all templates on pages (also in 
   Amazon link Default templates) stop showing preview images and they are blocked(
   because they are not https).
 * [Sample link](https://www.vivobarefoot.net/evo-iii-mens/) – no image icon above
   white shoe image
 * Any sollution?
 * THK, BR
 * [https://wordpress.org/plugins/amazon-link/](https://wordpress.org/plugins/amazon-link/)

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

 *  Thread Starter [WebMaster](https://wordpress.org/support/users/marketing-master/)
 * (@marketing-master)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ssl-and-https/#post-5834971)
 * This happen when I turn on “HTTPS Protocol Rewriting” in CloudFlare plugin.
 * I use CloudFlare Flexible SSL, CloudFlare page rule “Always uses https” and CloudFlare
   plugin.
 *  Thread Starter [WebMaster](https://wordpress.org/support/users/marketing-master/)
 * (@marketing-master)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ssl-and-https/#post-5835030)
 * I assume this is causing the problem:
 * **By rewriting all the links to start with just “//”**, the browser will try 
   to load all the assets over the same protocol as the main page (“https” if using
   Flexible SSL), CloudFlare will connect to your origin over http to get the asset,
   and the “mixed content warning” will disappear.
 * This also change all links in Amazon link templates and i cant change them:
 * “img src=”//www.assoc-amazon.%TLD”
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ssl-and-https/#post-5835123)
 * Hi,
 * Be aware that any Amazon javascript items we don’t have any control over.
 * However we can change the URL’s to images and thumbs by filtering the keyword
   in the template. Something like this might work:
 *     ```
       function alx_extras_https_urls($urls) {
             return str_replace( 'http://', '//', $urls );
          }
   
          add_filter('amazon_link_template_process_image', 'alx_extras_https_urls',11,1);
          add_filter('amazon_link_template_process_thumb', 'alx_extras_https_urls',11,1);
       ```
   
 * Note for me I got no images, as the certificate for ‘ecx.images-amazon.com’ was
   invalid.
 * Paul
 *  Thread Starter [WebMaster](https://wordpress.org/support/users/marketing-master/)
 * (@marketing-master)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/ssl-and-https/#post-5835205)
 * I see, so we must wait for Amazon. He is the biggest and don’t need to care about
   SSL. 🙁
 * Thx, BR
 *  [worldtravelgeek](https://wordpress.org/support/users/worldtravelgeek/)
 * (@worldtravelgeek)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/ssl-and-https/#post-5835245)
 * Hey Marketing Master,
 * I just stumbled across the same problem and found a simpler solution here:
    [http://stackoverflow.com/questions/3890003/amazon-widget-and-ssl](http://stackoverflow.com/questions/3890003/amazon-widget-and-ssl)
 * Just add &internal1 to the scrc of the amazon link or widget etc
    It works for
   me with the search box Paul created: [https://wordpress.org/support/topic/amazon-search-box-with-globalized-search?replies=2#post-6710477](https://wordpress.org/support/topic/amazon-search-box-with-globalized-search?replies=2#post-6710477)
 * Hope it helps!

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

The topic ‘SSL and https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [worldtravelgeek](https://wordpress.org/support/users/worldtravelgeek/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/ssl-and-https/#post-5835245)
 * Status: resolved