Home › Forums › Calendar Products › Events Calendar PRO › Loading header scripts using relative links
- This topic has 2 replies, 3 voices, and was last updated 9 years, 6 months ago by Leah.
-
AuthorPosts
-
April 14, 2014 at 9:55 am #132361coeurmechanteParticipant
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′ 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′ type=’text/css’ media=’all’ />April 15, 2014 at 11:08 am #133346BrookParticipantHowdy 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
September 26, 2014 at 11:52 am #768915LeahMemberHi 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
-
AuthorPosts
- The topic ‘Loading header scripts using relative links’ is closed to new replies.