SSL Mixed Content

G-One

New Member
I decided not to import any product images to my hosting. Today, I realized some of the product information images in the description was insert using http instead of https. Right now I went through all my imported product to fix it one by one.

I go my PHPmyAdmin database look for post search for http://ae01 and replace https://ae01.

Just wonder is there anyone experience the same thing?
 
Last edited:

Direct Webstore

Well-Known Member
Or even better than a plugin, if your server is running Apache, add this to your .htaccess file ...

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


;)
 

G-One

New Member
Yes. Many have this problem.

Use this ... https://en-au.wordpress.org/plugins/ssl-insecure-content-fixer/ 300,000 users can't be wrong. ;)
Or go to Plugins>Add New and paste this in the search box ... SSL Insecure Content Fixer

More info and methods in this Google search ... https://www.google.com/search?q=wor...p+to+https&ie=utf-8&oe=utf-8&aq=t&channel=rcs

;)

Thanks for the reply. I won't use any plugin or edit .htaccess file. It might slow down the site or cause other issues. I will do the PHPmyAdmin way or just double check before publish it.
 

Direct Webstore

Well-Known Member
Pretty inefficient, but up to you if you want to continually waste your time.

The .htaccess method will not "slow down your site or cause other issues" It will fix the issue. Simple as that. (Only if you have an Apache server)

The plugin will also not slow down your site or cause other issues either. Every single review of it only praises it.

The simple thing to do is do a page speed test at GTMEtrix ... then install the plugin, then do another test to see if it has slowed down your site. Which I seriously doubt.

But up to you.

;)
 

Direct Webstore

Well-Known Member
But thanks for reminding me about this. I only host the featured images on my site ... so I'm definitely going to install that plugin.
( My server uses Litespeed, not Apache)

I will do the page speed test as well and report the result.

;)
 

Direct Webstore

Well-Known Member
I will do the page speed test as well and report the result.


Before installing and activating ... this is the page load speed ... 3.1 seconds.
pre-test.jpg



And after installing/activating...


post-test_002.jpg



No change at all.
Although I wasn't really expecting there to be. Something like this would have an extremely low impact on a site.

:)
 
Last edited:

Direct Webstore

Well-Known Member
In the settings you may notice this ...

Detected setup
check-icon.png
SSL is enabled on your site.
cross-icon.png
The mixed content fixer is active, but was not detected on the frontpage. Please follow these steps to check if the mixed content fixer is working.: Instructions


I clicked the link to check if it was working. It is.

I also checked the page source of my home page and used "Find" to search for "data-rsssl=1" as explained in the steps to see if it is present. It is.

All working fine as it should be. As over 2 Million users have already stated.

Thanks again for reminding me about this.

And have fun manually editing links via phpMyAdmin.

;)
 

G-One

New Member
Pretty inefficient, but up to you if you want to continually waste your time.

The .htaccess method will not "slow down your site or cause other issues" It will fix the issue. Simple as that. (Only if you have an Apache server)

The plugin will also not slow down your site or cause other issues either. Every single review of it only praises it.

The simple thing to do is do a page speed test at GTMEtrix ... then install the plugin, then do another test to see if it has slowed down your site. Which I seriously doubt.

But up to you.

;)

If you know what you doing. Edit on PHPMyAdmin actually pretty easy. Take only like 2 minutes to edit it. Anything you add on to the site should affect the performance. Some don't affect much and so affect a lot. FYI: Some plugin does making calls to external site or resources.

If you care about web performance, get rid of .htaccess files, and turn off Apache's ability to read them. This is why:

If Apache is configured to use .htaccess file, then whenever a request comes in, Apache will search for a .htaccess file in every directory starting from where the URL points to, going all the way up to the document root. This requires Apache to do make a stat system call, which is very slow. It does not cache the results of this stat because the disk's state could change at any time.
 

Direct Webstore

Well-Known Member
If you know what you doing. Edit on PHPMyAdmin actually pretty easy.
I'm quite familiar with it ;) But if you prefer wasting time constantly doing that ... up to you.

I'm not using Apache. And the plugin has not made any difference to page speed. What more can I say.

But by all means do it all manually if you prefer. For me, I prefer the "Set and forget" method. Like 2 million others do. :)
 

G-One

New Member
I'm quite familiar with it ;) But if you prefer wasting time constantly doing that ... up to you.

I'm not using Apache. And the plugin has not made any difference to page speed. What more can I say.

But by all means do it all manually if you prefer. For me, I prefer the "Set and forget" method. Like 2 million others do. :)

Thanks! Just need to do it every time to import new products. I can spare that 2 minutes.
 

Direct Webstore

Well-Known Member
I just installed it on site number 2 (I have 8 sites) ... same results. No change. Will now install on the rest of the sites.

;)
 

Direct Webstore

Well-Known Member
Interesting. Any issues with the high usage CPU?
Not yet.

Four of my sites are on Intersever and the other four are on Hostgator Business Cloud. No problems on either. Both more or less the same loading speeds. The only difference is that Interserver has apcu and opcache PHP extensions available which helps a lot on easing the strain on the CPU. It was @Mar who put me onto Intersever. She has over 1500 products (maybe more, I forget exactly) Auto Update on and no CPU problems either.

It's also cheaper than Hostgator Business Cloud. So I'll be opening another Intersever account for the other 4 sites when the Hostgator hosting is finished next year.

It has unlimited domains ... but they all share the same CPU, so I don't want to have more than 4 on each account ... at the moment. As the sites get bigger, I may cut it down to two sites per account. But one site would definitely have no CPU problems with them. As with @Mar above.

:)
 
Last edited:
Top