settings on each server may be different and our settings may not work with your server becauase everything depends on server configuration. If you want, we can send you configuration file for W3Total Cache but probably it won't work as good as on our site.
@Muffins: can you provide screenshots/pdf with your settings for your server, so that we be-users can "click & try" each option in w3-total cache settings for our servers?
Seems so that there's a lot of interest in this topic in this forum..
This is very simple. Create another WP instance (in sub-folder or as sub-domain) just for tests. On this new instance install W3 Total Cache plugin and import our config file. It's easy, will take you few minutes and you will be able to test other things in the future as well
What do you do if the icons on RevSlider stop working due to cross-origin resource sharing policy after installing w3 total cache plugin?
Failed to load resource: the server responded with a status of 404 (OK)
www.tantravape.com/:1 Font from origin 'https://ajax.googleapis.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.tantravape.com' is therefore not allowed access. The response had HTTP status code 404.
www.tantravape.com/:1 Font from origin 'https://ajax.googleapis.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.tantravape.com' is therefore not allowed access. The response had HTTP status code 404.
<IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule>
or
<FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch>
Added to the .htaccess file has been known to fix the issue. However, in my case it is not doing the job... I can see where W3 Total Cache has rewritten the rules in my .htaccess files with a very long and complicated set of definitions, but I do not know what will break and what will not if I change it or if it is currently conflicting with what I need it to do.
Header set Pragma "public" and Header append Cache-Control "public" are currently added by W3 Total Cache in the .htaccess file. So I believe that these are conflicting with the other rules that I added at the bottom of the file.
No matter what option I chose when I tried to get the error to go away, the only thing that fixed it was to disable w3 total cache and the icons started to work again. This plugin always causes so many unforseen issues although it dramatically helps my google page speed. I may just disable the navigation so the error goes away...
But CORS, can be fixed on server side. If you will check the url we sent you above, you have few solutions of how to solve issue related with this library.
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
settings on each server may be different and our settings may not work with your server becauase everything depends on server configuration. If you want, we can send you configuration file for W3Total Cache but probably it won't work as good as on our site.
I use your theme on my own VPS Server. I can config cache on my own
Header set Access-Control-Allow-Origin "*"
</IfModule>
Header set Access-Control-Allow-Origin "*"
</FilesMatch>