forum share
   textsms      forum    

Articole/intrebari

INDEX \ Articole/intrebari \ SSL Settings and How to Resolve Mixed Content Warnings in 3 steps

SSL Settings and How to Resolve Mixed Content Warnings in 3 steps

text_format+  text_format-


STEP 1: Forcing All Pages to HTTPS

Open your .htaccess file and add this:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


STEP 2: How to Fix Mixed Content Warnings? Find and replace all HTTP Assets to HTTPS

Option 1: Use View Source
Option 2: Use Google Chrome Inspector Console (Recommended)


STEP 3: Use Relative URLs

Option 1: Change "http://domain.com/assets/logo.png" to "//domain.com/assets/logo.png" (Recommended)
Option 2: Change "http://domain.com/assets/logo.png" to "https://domain.com/assets/logo.png".

[INFO!] Do not use //www.domain.com for external links. Use http://www.domain.com (http:// is allowed for external URL's).




update Ultima actualizare: 01/03/2017
done Informatiile cuprinse in aceasta sectiune sunt verificate si actualizate periodic.

list Articole recente
arrow_back Inapoi


© 2019 EVIDWEB. Toate drepturile rezervate. Design: EVIDWEB
Certified partner with GlobeSSL

share  forum  textsms