Is wordpress supposed to automatically load images over https? - image

When I try to access my website over https, I get a mixed content error. Looking at the console, The offending resources are all images that are uploaded using the wordpress media uploader.
But isn't wordpress smart enough to know that it should serve those images over ssl if the https version of the website is requested? If not, is there an easy solution to resolve this issue (besides from editing every post to replace say http://example.com/image.jpg with //example.com/image.jpg)

Wordpress has a plugin that does this trick. Wordpress HTTPS(SSL)
It replaced all images loaded through "HTTP" with "HTTPS".

Related

I installed a ssl after that the image slider not working

Hello after installing a ssl on my site the image slider has stopped working.
The site isnt woedpress its just a php site thats quite old.
I installed the ssl through namecheaps cpannel & turned the redirect http to https on.
https://www.compare-travel-deals.com/ - my site
http://www.travelsite2.epizy.com/ - how it shold look
I've gone through changing any links i find to http: to https:
Viewing the source i thort it was somthing to do with this line "" but can work out where the link is to change http to https.
Hopefully someone knows.
Nevermind i scanned through the index.php and found the link to the http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js file and changed it to https. And it works now, thanks anyway.
I have also came across similar issue on my website's home page.
When I accessed my website from http to https(means after addition SSL) my image slider stopped working.
I tried below workaround:-
replaced all http links on my home page with https.
I assume in this case all http link should have respective https links available.
After that my image slider started working same like earlier it's working with http.

Laravel ssl lock is not showing

I have added ssl to my website https://phone-pedia.com.
lock is only appearing on homepage. On other pages, lock does not appear. I tried to clear cache but issue is still here.
Is it a Laravel issue or ssl problem ?
If mixed content is the problem then why homepage has a lock. ?
Chrome says your site uses sources (such as images) from non-secured origins. You should use in your views the asset_secure helper instead of asset. If you already do, check if you use in other sources from non-secured origins. Otherwise it has to do with your SSL.
You have mixed content on some of your pages. If you look at your browser console you'll see a message like the following:
Mixed Content: The page at 'https://example.com/path' was loaded over HTTPS, but requested an insecure image 'http://example.com/storage/products/images/example.png'. This content should also be served over HTTPS.
You need to serve all of your content over HTTPS.

Angular UI-Router (1.x) Change Host Url

I have a requirement from a client to change the web site Url to a subdomain when they enter the checkout section of the site we are developing for them. For example from www.mysite.com to checkout.mysite.com. We are using UI-Router in HTML5 mode and would like to have the router change the Url to the subdomain instead of going to www.mysite.com/checkout. Does anyone know a way that this can be accomplished? I've also tried using pushState but without success. All of the subdomain suggestions I've tried have not worked. Honestly even if I just put a "fake" url that would work fine too. Changing the Url is more of a visual thing instead of actually redirecting to a subdomain.
After much review I found that this cannot be done because it is a security issue; even switching to a subdomain (which is what I was trying to do) is not allowed.

How to fix the URL triangle lock for Magento website?

How can I fix this issue. I am using Magento.
Click here to the Website Link
All your resource and image path must be replace with https I have found on your site like link http://www.trenpon.com/ all link and images and file path link change to https.
The code in your home page has 93 instances where you have hard-coded http:// in the URL. There are 41 instances with the https:// prefix. While not all cause the mixed content warning, there are several that are resources served over http. You can go to the console in most modern browsers and see the resources that are causing the warning.
Here are some options:
Use relative URLs for your internal resources.
Use URLs without a scheme (http: or https:).
Code everything to use HTTPs.

Hosting wordpress Images in a sub-domain when my wordpress is installed in a subdomain

I have a gallery for my website (mysite.com) as a sub-domain (gallery.mysite.com) but I want to host my wordpress Images in another sub-domain (images.gallery.mysite.com) I have changes the "Full URL path to files" but wordpress is not uploading the images to the folder how can I fix this or are there any other solutions, because I wand to speed up the load time of my site.
Thanks
As I understand if, you want wordpress to upload the file into another location other than the default one. if this is the case, take a look at Editing the default image/file upload location of WordPress!

Resources