• Resolved btetrault

    (@btetrault)


    Hello, I have a site where we were seeing a bunch of 404 errors for the /favicon.ico that I’ve tracked back to the _postmeta table and the mailchimp_woocommerce_landing_site key.

    What’s going on here? Why is Mailchimp trying to set the favicon.ico as a landing site? Our actual favicon is setup via the WP core Customize>Site Identity function that doesn’t actually place a /favicon.ico into the root folder—thus, a 404 (many of them) is thrown. How can I get MC for WC to avoid this?

    Also, that key shows 76k+ records in the _postmeta, many with no value. Seems excessive even though we have a pretty big list and shop. What is this key/value even used for? And can it be filtered out in some way so it doesn’t get set?

    Thanks for any help you can provide.

Viewing 1 replies (of 1 total)
  • Plugin Author ryanhungate

    (@ryanhungate)

    @btetrault that’s odd that it’s saving the favicon, but we can provide a solution that will prevent this record from being set if you would prefer.

    Please reference this wiki page where it shows ytou you can add a filter to prevent this cookie from being set. This will also prevent that record from being saved to the postmeta table.

    You would just do a conditional check that the $cookie_name being passed to the function is mailchimp_landing_site and return false if that’s the case.

Viewing 1 replies (of 1 total)
  • The topic ‘mailchimp_woocommerce_landing_site causing 404s looking for /favicon.ico’ is closed to new replies.