• Resolved baudouin88

    (@baudouin88)


    Hello,

    I Have mixed content with the plugin, how can I fix that ? (I am trying to use a certificate ssl)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Can you, please, explain what you mean by ‘mixed content’?

    Sorry, but it’s not clear for me.

    Thanks!

    Thread Starter baudouin88

    (@baudouin88)

    Heu I am not an expert but here is my error in the console

    Mixed Content: The page at ‘https://www.my-website/checkout/’ was loaded over a secure connection, but contains a form which targets an insecure endpoint ‘https://www.my-website.com/’. This endpoint should be made available over a secure connection.

    Plugin Author ILLID

    (@mihail-barinov)

    Looks like you are talking about form action url.
    Strange that its url is set as unsecure.

    PLease open your WordPress admin page, go to Settings->General and check that Site Address (URL) options has ‘https’ in its url.

    Thread Starter baudouin88

    (@baudouin88)

    Hello

    Actually it is not with HTTPS.

    If I change to https, my website won’t load anymore. So I came up with another solution using the .htaccess file.

    So I guess if I don’t change it to https, I won’t be able to use your search bar ??

    Thread Starter baudouin88

    (@baudouin88)

    But Maybe You could come up with a little code that would force the aws_result_link to be in https?

    I have use a plugin called velvet blue that rewrite the urls. But as you can see below, the result link point to a http and not https

    <a class="aws_result_link" href="https://www.therm-a-snap.com/product/19x19-thermal-pouch-200x-per-case/"><span class="aws_result_image"><img src="https://www.therm-a-snap.com/wp-content/uploads/2017/05/19x19-150x150.jpg"></span><span class="aws_result_content"><span class="aws_result_title">19"x19" Thermal Pouch (200x per case)</span><span class="aws_result_excerpt">Our Kold-To-Go thermal insulated pouches keep temperature sensitive <strong>food</strong> products cold for hours without ice.</span><span class="aws_result_price"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$</span>290.00</span></span></span></a>

    • This reply was modified 7 years, 8 months ago by baudouin88.
    • This reply was modified 7 years, 8 months ago by baudouin88.
    • This reply was modified 7 years, 8 months ago by baudouin88.
    • This reply was modified 7 years, 8 months ago by baudouin88.
    • This reply was modified 7 years, 8 months ago by baudouin88.
    Thread Starter baudouin88

    (@baudouin88)

    Hello well I figured it out. with this in common.js result.link.replace(“http”,”https”) and some str_replace in the aws-markup on the home.url()

    Sorry about that ??

    You might want to add this as an option in the dashboard in one of your future update ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mixed content’ is closed to new replies.