When I change my website URL HTTP to https, we change in source code HTTP to https still we faced mixed content error in chrome console. this line is written in the console:-Mixed Content: The page at
https://example.com/ was loaded over HTTPS but requested an insecure font http://www.example.com/resource/home/new_resources/fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0. This request has been blocked; the content must be served over HTTPS.
My website is use Codeigniter framework,Apache 2.3,mysql

0
votes
please suggest your view
- rahul yadav
post your .htaccess and base_url and url you searched
- AbdulAhmad Matin
@AbdulAhmadMatin .htaccess file
- rahul yadav
.hta file is too long but i used latest html 5 bottle
- rahul yadav
Used below code in .htaccess <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> <FilesMatch "\.(woff)$"> Header unset Vary </FilesMatch> <FilesMatch "\.(eot)$"> Header unset Vary </FilesMatch> $config['base_url'] = 'mywebsites.com';
- rahul yadav