If you are creating a website and found that some of your icons didn’t appear on the screen if the url is written without www before domain (example: your-domain.com), here is what you can do:

1. Create a .htaccess file in your root folder
 2. Insert the following script into your .htaccess file:
        
  RewriteCond %{HTTP_HOST} ^your-domain.com
  RewriteRule (.*) http://www.your-domain.com/$1 [R=301,L]

3. Insert the above .htaccess file into your server under root folder
4. The above codes will force redirect your website from your-domain.com to www.your-domain.com and will resolve the icons display issue