I recently added a ssl certificate to my website. Now the problem is that some of the elements like images, fonts etc. are external content which is using http in "src=http://example.com/jpg"
tag.
I know I can solve the problem by just replacing http
with https
in my elements tag but I have at-least 133 web-pages that will take a while to do it manually.
Is there any other alternative that I can use?
Can I use .htaccess
for this problem?
note – I am using cpanel hosting
2
Answers
.htaccess
is not going to help you here as it is used for redirectinghttp
tohttps
in websites.as you are using cpanel that means you dont have access to your root server therefore your only option is to manually convert
http
tohttps
.try this