Missing Icons fontawesome problem issue

June 18, 2015 - By 

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.

define(‘HTTP_SERVER’, ‘http://www.domain.com‘);

define(‘HTTPS_SERVER’, ‘http://www.domain.com‘);

config.php – OpenCart admin folder
define(‘HTTP_SERVER’, ‘http://www.domain.com/admin/‘);
define(‘HTTP_CATALOG’, ‘http://www.domain.com/‘);

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.

Posted In:  All Problems

Leave a Reply

Your email address will not be published. Required fields are marked *