How To Fix OpenCart Missing Icons Problem

How to fix OpenCart missing icons problem

Very simple solution to fix the icon missing problem in opencart which is due to domain address. The issue is caused due to cross-domain policies for example :
If you access blazingcoders.com and it might be working but if you access www.blazingcoders.com then it will show messy icons it’s just due to HTTP_SERVER point location.

So you can fix by changing config.php opencart root folder.

// HTTP
define(‘HTTP_SERVER’, ‘https://www.blazingcoders.com‘);

// HTTPS
define(‘HTTPS_SERVER’, ‘https://www.blazingcoders.com‘);

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

// HTTPS
define(‘HTTPS_SERVER’, ‘https://www.blazingcoders.com/admin/‘);
define(‘HTTPS_CATALOG’, ‘https://www.blazingcoders.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 font awesome missing issue.

Related Posts
Advantage of Offshore IT Services

Blazingcoders is a offshore Website Design and Web Development Company, India. W

Static Website Design And Development Company Coimbatore

Static Website Design And Development Company Coimbatore. Blazingcoders is a leading web design a

Fireworks vs Photoshop – Where to use what?

It’s over the years that we heard about the Adobe Photoshop. It was a new software that helped

Google webmaster temporarily unreachable

From what I’ve read and seen, CloudFront does not consistently identify itself in requests. Bu

Get free quote for

How to fix OpenCart missing icons problem

Font awesome icons missing Issue

Contact us