Title: [Plugin: WordPress HTTPS] bloginfo template_directory still generating http instead of https
Last modified: August 19, 2016

---

# [Plugin: WordPress HTTPS] bloginfo template_directory still generating http instead of https

 *  Resolved [artcoder](https://wordpress.org/support/users/artcoder/)
 * (@artcoder)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-bloginfo-template_directory-still-generating-http-instead-of-https/)
 * I only have “Internal HTTPS Elements” checkmarked in settings.
 * When I “view source” using my browser on my “secured” home page (say [https://www.example.com](https://www.example.com)),
   I’m seeing this html code for my twitter icon with “http”…
 * `<img src="http://www.example.com/wp-content/themes/example/images/twitter.png"
   >`
 * I thought this plugin is suppose to make it generate HTML code like the following
   with “https” …
 * `<img src="https://www.example.com/wp-content/themes/example/images/twitter.png"
   >`
 * The src attribute is generated by
 * `<?php bloginfo('template_directory'); ?>`
 * in the template.
 * I want to keep my WordPress address and Site Address as “[http://www.example.com&#8221](http://www.example.com&#8221);
   in my Genreral Settings. Because I only want to force SSL on one or two pages.

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

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-bloginfo-template_directory-still-generating-http-instead-of-https/#post-1888213)
 * Hey artcoder,
 * That’s correct. I’ve had an increasing amount of users reporting similar issues
   where the plugin isn’t fixing simple things. This is generally caused by the 
   output buffering not working correctly, which the plugin uses to change elements
   to HTTPS.
 * I could take a look at your installation if you would like. I’m in the process
   of adding an output buffering test to the next release so that this problem is
   easily identifiable.
 * Thanks,
    Mike
 *  Thread Starter [artcoder](https://wordpress.org/support/users/artcoder/)
 * (@artcoder)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-bloginfo-template_directory-still-generating-http-instead-of-https/#post-1888214)
 * Thanks for the response. I had already worked-around the problem by recoding 
   my HTML, template, etc to eliminate the “mixed secured/unsecured items” message
   in Internet Explorer.

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

The topic ‘[Plugin: WordPress HTTPS] bloginfo template_directory still generating
http instead of https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [artcoder](https://wordpress.org/support/users/artcoder/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-bloginfo-template_directory-still-generating-http-instead-of-https/#post-1888214)
 * Status: resolved