Loading header scripts using relative links

Home Forums Calendar Products Events Calendar PRO Loading header scripts using relative links

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #132361
    coeurmechante
    Participant

    Hi,
    I have a page that must be served over https, and the little padlock icon is not coming up in my browser bar for users on Safari– Safari only displays the padlock when all elements loaded into the page are being loaded securely.

    On investigation, I’ve discovered that the header scripts loading Events Calendar Pro js/css assets are pulling absolute urls from http.

    Can you point me where this is being rendered, so that I can change these to relative links for now? (And maybe in future releases, use relative links?)

    In my source:
    <link rel=’stylesheet’ id=’full-calendar-pro-style-css’ href=’http://vtdigger.org/vtdNewsMachine/wp-content/plugins/events-calendar-pro/resources/tribe-events-pro-full.css?ver=3.8.2&#8242; type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’tribe_events-calendar-pro-style-css’ href=’http://vtdigger.org/vtdNewsMachine/wp-content/plugins/events-calendar-pro/resources/tribe-events-pro-theme.css?ver=3.8.2&#8242; type=’text/css’ media=’all’ />

    #133346
    Brook
    Participant

    Howdy coeurmechante,

    Thank you for reporting this. We have this issue logged in our tracker. Basically what it amounts to is that WordPress itself defines the constant “WP_CONTENT_URL” as being http, not https. This is a problem, but one that some third party plugins fix for WordPress. If you search for plugins that “force SSL”, one of them should force your WP install to load resources via HTTPs when requested from a secure connection.

    In the mean time we might try and find al alternative method for getting the default URLs. It will not be quite as fast as the current method, but at least it will support HTTPs even though the WP ones do not.

    Does that make sense? Will that work for you? Please let me know. Cheers!

    – Brook

    #768915
    Leah
    Member

    Hi there,

     

    I just wanted to let you know that we were able to work on this issue for our upcoming 3.8 release. Keep an eye out on your site for an update announcement! If you update and are still seeing this problem, please post a new thread so we can check it out. Thank you for your patience while we got this fix in place.

     

    Best,

    Leah

    and the team at Modern Tribe

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Loading header scripts using relative links’ is closed to new replies.