Title: podPress and HTTPS
Last modified: August 20, 2016

---

# podPress and HTTPS

 *  [ilf](https://wordpress.org/support/users/ilf/)
 * (@ilf)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/podpress-and-https/)
 * podPress seems to always enter HTTP URLs, even when accessed via HTTPS:
 *     ```
       <link rel='stylesheet' id='podpress_frontend_styles-css'  href='http://domain/wp-content/plugins/podpress/podpress.css?ver=3.3.1' type='text/css' media='all' />
       <script type='text/javascript' src='http://domain/wp-content/plugins/podpress/js/podpress.js?ver=3.3.1'></script>
       <script type="text/javascript" src="http://domain/wp-content/plugins/podpress/players/1pixelout/1pixelout_audio-player.js"></script>
       podpressAudioPlayer.setup("http://domain/wp-content/plugins/podpress/players/1pixelout/" + podPressPlayerFile,
       var podPressBlogURL = "http://domain/";
       ```
   
 * How can I make that HTTPS when access via HTTPS?
 * [http://wordpress.org/extend/plugins/podpress/](http://wordpress.org/extend/plugins/podpress/)

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

 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570711)
 * podPress uses the constants WP_CONTENT_URL and WP_PLUGIN_URL to build these URLs.
   But is possible that this is not the appropriate way anymore ([http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Backwards_Compatibility_Code](http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Backwards_Compatibility_Code)).
 * Changing this in podPress will take some time (maybe until May 2012).
    Until 
   than you may try the current [Development Version](http://wordpress.org/extend/plugins/podpress/download/)(
   8.8.10.14 beta 4) of podPress along with some modification in the file /wp-includes/
   default-constants.php You can find the definition of the constant WP_CONTENT_URL
   in line 82 and 83 of this file (WP 3.3.1). Replace these lines with
 *     ```
       if ( !defined('WP_CONTENT_URL') ) {
       		if ( function_exists( 'is_ssl' ) and is_ssl() ) {
       			define( 'WP_CONTENT_URL', str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) ) . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
       		} else {
       			define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
       		}
       	}
       ```
   
 * With this modification the constant will be defined as an URL with https if it
   is https request.
 * But note that this modification has influence on other plugins, themes or other
   elements which use this constant. This is eventually a helpful side effect but
   also could be a problem.
    That is why you should definitely test this first in
   a test environment before you use it in the real blog.
 * Regards,
    Tim
 *  Thread Starter [ilf](https://wordpress.org/support/users/ilf/)
 * (@ilf)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570769)
 * Hello. Any progress on this? 🙂
 * Thanks, and keep up the good work!
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570770)
 * [@ilf](https://wordpress.org/support/users/ilf/): No, unfortunately not and it
   is more clear that I will have all hands full with other stuff until May.
 *  Thread Starter [ilf](https://wordpress.org/support/users/ilf/)
 * (@ilf)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570777)
 * This is getting more urgent. Starting with version 19, Google Chrome will not
   display http content on https sites per default. We are experiencing major difficulties
   with it. They have announced it almost a year ago: [http://googleonlinesecurity.blogspot.de/2011/06/trying-to-end-mixed-scripting.html](http://googleonlinesecurity.blogspot.de/2011/06/trying-to-end-mixed-scripting.html)
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [14 years ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570778)
 * I understand you. But it looks like that I will get to this issue not before 
   June 2012. I’m sorry that this takes so long.
 *  Thread Starter [ilf](https://wordpress.org/support/users/ilf/)
 * (@ilf)
 * [14 years ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570785)
 * Chrome 19 was released yesterday. Now all sites with Podpress and HTTPS give 
   a “This page has insecure content: Load anyway | don’t load (recommended)” warning.
   This page too, btw: [https://wordpress.org/support/topic/podpress-and-https](https://wordpress.org/support/topic/podpress-and-https)
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [14 years ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570786)
 * This is probably the first thing I will fix – in June.
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570797)
 * [@ilf](https://wordpress.org/support/users/ilf/): You may try the current [Development Version](http://wordpress.org/extend/plugins/podpress/developers/).
   It contains a lot of modifications and should display icons, default images and
   statistic URLs with the correct URL scheme. It should solve the problem of mixed
   http/https content.
    podPress will alter values (URLs) in input boxes. This means
   that the URL of a default image may be a http:// URL. But podPress will show 
   the icon or image with the https:// scheme in case of such a request. podPress
   will also display other images via a [https://-URL](https://-URL) if the URL 
   is not a default image but contains the Site URL.
 * I would appreciate it very much if could test this version. But be aware that
   this is still a beta version. Backup your db and files before you install this
   version.
 * Thanks,
    Tim
 *  Thread Starter [ilf](https://wordpress.org/support/users/ilf/)
 * (@ilf)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570798)
 * Thanks, ntm. Unfortunately, I currently do not have a wordpress-installation 
   I can use for testing. Anyone else?
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570799)
 * (I will do more testing in the next days.)

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

The topic ‘podPress and HTTPS’ is closed to new replies.

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

 * 10 replies
 * 2 participants
 * Last reply from: [ntm](https://wordpress.org/support/users/ntm/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/podpress-and-https/#post-2570799)
 * Status: not resolved