Posted On:fontawesome Archives - OpenCart Solution
Missing Icons fontawesome problem issue
Very simple solution to fix the icon missing problem which is due to domain address . Issue is caused due to cross domain policies for example :
If you access domain.com and it might be working but if you access www.domain.com then it will show messey icons its just due to HTTP_SERVER point location.
So you can fix by changing config.php opencart root folder.
// HTTP
define(‘HTTP_SERVER’, ‘http://www.domain.com‘);
// HTTPS
define(‘HTTPS_SERVER’, ‘http://www.domain.com‘);
config.php – OpenCart admin folder
// HTTP
define(‘HTTP_SERVER’, ‘http://www.domain.com/admin/‘);
define(‘HTTP_CATALOG’, ‘http://www.domain.com/‘);
// HTTPS
define(‘HTTPS_SERVER’, ‘http://www.domain.com/admin/‘);
define(‘HTTPS_CATALOG’, ‘http://www.domain.com/‘);
After configuration please do check that your .htaccess file is configured properly like this.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
This will help you to sort out your problem in opencart bootstrap version icon or fontawesome missing issue.
0 comments