• I am using the Yoast Google Analytics for WordPress plugin, and W3 Total Cache with self-hosted CDN.
    I go through the process of clicking (on the “Performance | CDN” tab) “Upload includes files,” “Upload theme files,” “Upload minify files,” etc., then I look at my site in my host’s cPanel files viewer.
    I see that Google Analytics for WordPress is writing its favicon to successively deeper “static” folders. “Static” is the subdomain name for my self-hosted CDN. Not a big deal, but the GAfWP favicon.ico is the only thing I’m finding written there.
    For example, not only in:
    /static/wp-content/plugins/google-analytics-for-wordpress/images/favicon.ico
    but also in:
    /static/static/wp-content/plugins/google-analytics-for-wordpress/images/favicon.ico
    etc.
    I’m only aware of this having used cPanel to look at the files on the server… I’m not aware of any performance impact from this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you ever find a solution for this (other than not using favicons)? I’m having the same problem, described here, and there is eventually a performance issue, because it can generate thousands of directories, slowing down the site.

    Thread Starter salty-sailor

    (@salty-sailor)

    No solution, this remains unresolved.

    This solution worked for me:

    On W3TC CDN configuration page, I removed favicon.ico from the custom file list and added the original (non-CDN) location of the favicon(s) to the rejected file list.

    I am still able to serve the favicons from the CDN by uploading them to the corresponding location in the CDN folder and designating this location in my theme.

    This is working for me on a 2-site multisite and a single site installation, all using self-hosted CDN.

    Hope it works for you too!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Analytics for WordPress’ is closed to new replies.