.htaccess add http redirect exception to https?

Asked

Viewed 22 times

0

I need the entire site to be redirected to https, but with a single page in exception. This page is running a iframe http and I hope that it will not be redirected to .https.

I tried it this way:

RewriteEngine On

    RewriteCond %{HTTPS} on
    RewriteCond ${REQUEST_URI} ^/medidor.html?$
    RewriteRule ^(.*)$ https://meusite.com.br/$1 [R,L]
  • 1

    The browser will give message that the site is not safe when opening an http protocol (not secure) within a secure protocol (https), and the user will have an unpleasant and distrustful screen and will lose visits.

  • opa, it is a Speedtest speed meter, it does not run on https

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.