Site with external Javascript

Home Forums General issues Site with external Javascript

This topic contains 7 replies, has 2 voices, and was last updated by  Rogier Lankhorst 3 months, 1 week ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #33947 Reply


    The plug-in works really well. But how i can change one or more page in http ?

    Because if i have this script included in a https page don’t work:

    the original resource is not in https. If possible exclude some pages of site form https in http ?

    have a solution for a external javascript ?

    All the best

    #33948 Reply

    To have some pages not on SSL, you can use the per page plugin:

    Really Simple SSL per page

    #33949 Reply


    Thanks. I consider this.

    and if you want to keep the site https and load an external resource in javascritpt ?

    How to allow this function ?

    #33955 Reply

    That is possible if the domain over which the javascript is loaded has an SSL certificate installed.

    For example you could load your jquery files from the server, which will work without any issues, because supports https.

    You can also download the file and insert it from your own site.

    #34026 Reply


    Hi Rogier,

    this affiliation program don’t have a SSL for each domain. So unique possibility are load the javascript in http.
    Have a possibility for insert a mixed content in a single page ?

    Because the Single page plug-in is good if you don’t are a https site. But now i make all redirect 301 for a SEO and return to http is not a good solution.

    Thanks for support

    #34054 Reply

    You can exclude a url from the mixed content fixer using this article:

    How to exclude a url from the mixed content fixer

    This will cause browsers to give warnings about mixed content though. You won’t have the green lock anymore on pages with this URL.

    #34179 Reply


    Thanks Rogier.

    It’s the same if this url are a subdomain ?

    function rsssl_exclude_http_url($html) {
    $html = str_replace(“”, “”, $html);
    return $html;

    #34186 Reply

    Yes, it’s just a string replacement actually. So if you enter abc in the first part, then def in the second, it replaces all abc strings to def.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Site with external Javascript
Your information: