Viewing SSL on web site disabled Javascript
SSL on web site disabled Javascript
|
User: Larry D. 9 years ago
|
|
|
I just turned on SSL on my web site hosted by GoDaddy. Doing so disabled my javascripts, like slideshow and instead placed all slideshow pictures down the page behind the text etc. What do I need to do in order to allow access to my javascripts in my ew_js folder by the web browser? Oliver |
|
|
User: Larry D. 9 years ago
|
|
| It is also no longer rendering YouTube embedded videos. | |
|
User: Larry D. 9 years ago
|
|
|
I have found a work-around. Here is the bad code in index.html: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> and <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> Both "http://..." should be "https://.... Also, all youtube http://... need to be changed to https://... My question: is there any way to configure EverWeb so that it give the correct code for a secure web site? Going in and changing the code after it is published is a hassle. Oliver |
|
|
User: Roddy 9 years ago
|
|
|
This is not bad code. EverWeb inserts jQuery as... <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> ... which allows the server to interpret it as either http: or https: Check with your host's tech support to find out what the problem is. When you insert the URL for a hosted video like Vimeo or YouTube, it is up to you to insert the correct URL. You will need to check through your site's code to see if there are any others. There's quite a lot of learning required before switching to SSL and your host should walk you through it or give you instructions. One thing that often gets forgotten is that, if you use Google's Webmaster Tools, you need to change the URL there. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
| Post Reply |
| You must login or signup to post. |
