Page 1 of 1

icon does not load opencart 3.0.3.6

Posted: Sun Oct 18, 2020 11:44 pm
by algis789
Hello, the icon does not load when logged in to the website matauimu.lt, but connecting via https://matauimu.lt shows the icon, what can it be?
I am using OpenCart 3.0.3.6
Image

Re: icon does not load opencart 3.0.3.6

Posted: Mon Oct 19, 2020 10:59 am
by rjcalifornia
algis789 wrote:
Sun Oct 18, 2020 11:44 pm
Hello, the icon does not load when logged in to the website matauimu.lt, but connecting via https://matauimu.lt shows the icon, what can it be?
I am using OpenCart 3.0.3.6
Image
If you access:
https://www.matauimu.lt/

Everything will look as expected. I suggest you to redirect from non-WWW to WWW. (You can try asking your hosting tech support for help)

Re: icon does not load opencart 3.0.3.6

Posted: Mon Nov 02, 2020 12:35 am
by EvolveWebHosting
You need to add a redirect rule in your .htaccess file to force all non www and no https requests to https://www.yourdomain.com

Make a backup of your .htaccess file and then add the following below RewriteBase /:

Code: Select all

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]