Page 1 of 1
[Solved] Icons of currency, cart, contacts are not loading
Posted: Mon Dec 05, 2016 10:27 pm
by coldrex
Hello,
a pic:
After moving a site, it stopped loading icons of cart, profile etc.
What is the problem?
Re: Icons of currency, cart, contacts are not loading on pag
Posted: Mon Dec 05, 2016 10:38 pm
by imdevlper18
Hello Coldrex,
Such issues can occur because of any reason below:
1) You configured website with www and you are trying to visit non - www
2) Calling http link from https page.
3) No font-awesome css file called in header.
You can share your store link in order to check. So it can be helped faster.
Re: Icons of currency, cart, contacts are not loading on pag
Posted: Tue Dec 06, 2016 2:28 am
by coldrex
Re: Icons of currency, cart, contacts are not loading on pag
Posted: Tue Dec 06, 2016 2:47 am
by IP_CAM
if you want to have it as
http:// topkamin. se
you have to
change your BOTH
config.php files to:
ROOT:
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://topkamin.se/');
// HTTPS
define('HTTPS_SERVER', 'http://topkamin.se/');
ADMIN:
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://topkamin.se/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://topkamin.se/admin/');
and in your
.htaccess file,
after this:
Code: Select all
# SEO URL Settings
RewriteEngine On
RewriteBase /
you have to
add this, to have all
http://www.xxx.se Calls rewritten to
http://xxx.se
Code: Select all
#Force (http host) www to non www (optional)
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
#Force (https host) www to non www (optional)
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
in order to make sure, that, regardless of, how a Site URL is called (with www. or not),
the LINK will be rewritten to
http:// topkamin. se
Then, you'll have your FontAwesome generated ICON's visible on Screen!
Good Luck!
Ernie
---
And just to mention it:
Or then, in
reverse, and by use of this
.htaccess Code instead,
if you want it to work in the
HTTP://WWW. - way ONLY:
Code: Select all
#Force (http host) non www to www (optional)
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
#Force (https host) non www to www (optional)
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Re: Icons of currency, cart, contacts are not loading on pag
Posted: Tue Dec 06, 2016 4:53 am
by coldrex
My friend, You are a genious.
Many many thanks!