Something is wrong with my website

Posted in: Newspaper
Post count: 10

http://www.bestwebhostinghero.com/arvixe-review/

You can visit this page to see the “Sharing” is not correct, illegal code.
I don’t know what is wrong?
Can you help?

Post count: 36

This happens when you use a CDN. I fixed this issue a while back. If I remember, I went to the W3 Total Cache CDN settings page and removed *.css and/or *.js from one of the fields there.

There’s probably a better solution. I never spent time to find out.

Backup your settings before you change them.

Post count: 10

I’m familiar with WP Super Cache plugin, so is there an available solution for this plugin?

Post count: 10

When I activate the “WP Super Cache” plugin, the issue is happened.

Post count: 7909

Hi,

Not sure why you have this issue, we recommend WP Super Cache to be used on default settings just page cache, no minifications. Also please make sure that you clear cache and purge your files.

Thanks!

Post count: 10

The plugin “WP Super Cache” is working properly, but once I activate the “MaxCDN”, the abnormal code will be displayed on “Sharing”; and the symbol “>” also shows wrong.

I need your assistance.

Post count: 7909

Hi,

It usually happens when loading the font file (which contains those icons) from another host/url. Check your browser’s console if you have an error like this – http://screencast.com/t/fKy2k43k9kc
The solution would be to load them from the same url as the site or try this solution – http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co

Thanks!

Post count: 10

Yes, I’ve followed the Console and I see such error

“Font from origin ‘http://cdn.bestwebhostinghero.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: The ‘Access-Control-Allow-Origin’ header has a value ‘http://cdn.bestwebhostinghero.com’ that is not equal to the supplied origin. Origin ‘http://www.bestwebhostinghero.com’ is therefore not allowed access.”

I tried to add

” <IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “*”
</IfModule>”
into my .htaccess
but not working for me.

Post count: 10

Hi

I finally found a solution

Header add Access-Control-Allow-Origin “*”
Header add Access-Control-Allow-Methods: “GET,POST,OPTIONS,DELETE,PUT”

from
http://stackoverflow.com/questions/14467673/enable-cors-in-htaccess

Now the CDN is working for me.

Thanks

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.