Chinese Symbols Showing Instead of Icons

Posted in: Newspaper
Post count: 25

Hi,

This is something that you addressed in a previous query on the forum, but I’m struggling to determine where to place the code you recommended at this link.

I’ve inserted the code from my htaccess file below, could you show me exactly where to place the following?

<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “http://skin.cdn.com&#8221;
</IfModule>

———————-

#Expires headers configuration added by BREEZE WP CACHE plugin
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A2592000
ExpiresByType application/javascript “access plus 7 days”
ExpiresByType text/javascript “access plus 7 days”
ExpiresByType text/css “access plus 7 days”
ExpiresByType image/jpeg “access plus 7 days”
ExpiresByType image/png “access plus 7 days”
ExpiresByType image/gif “access plus 7 days”
ExpiresByType image/ico “access plus 7 days”
ExpiresByType image/x-icon “access plus 7 days”
ExpiresByType image/svg+xml “access plus 7 days”
ExpiresByType image/bmp “access plus 7 days”
</IfModule>
#End of expires headers configuration
# Begin GzipofBreezeWPCache
<IfModule mod_deflate.c>
AddType x-font/woff .woff
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
</IfModule>
# End GzipofBreezeWPCache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Post count: 23312

Hello keithohara,

All of these rules should have to be added in .htaccess folder from your dedicated server. If you do not have any permission to this folder you should contact your hosting provider.

Thanks for your understanding!

Post count: 25

Hi Catalin,

So, to confirm, all of the below code (not just the string Header add Access-Control-Allow-Origin “http://skin.cdn.com”) needs to be added to the top of the htaccess file?

<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “http://skin.cdn.com”
</IfModule>

Thanks,

Keith

Post count: 23312

Hello Keith,

Yes, this code should have to be added in .htaccess file. You can read our useful guide from here -> https://forum.tagdiv.com/how-to-make-the-site-faster/ because there you will see our .htaccess configuration model -> https://www.screencast.com/t/k0QJEQ2P

Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.