Home Forums Themeqx Advanced PhP Laravel Classified ads cms forwarding my website to https secure link Reply To: forwarding my website to https secure link

#599

Hi @srinath

It should be make auto https when load asset file like css, js and others images, seems something wrong with your server, but don’t worry, i am giving you solution

Go to /root/resources/views/layout/header.blade.php

find all line start with asset('
looks like a line below

asset('assets/css/bootstrap.min.css')

you need to pass a Boolean true in second parameter, like asset('assets/css/bootstrap.min.css', true)

also find /root/resources/views/layout/footer.blade.php

do it same to make https loading js files, add a parameter all of your asset url, like below

asset('assets/js/vendor/jquery-1.11.2.min.js', true)

Looks, you are adding only true with a comma just before closing first brackets,

Your css and js will now serve over https

Best rgards