CORS not working: Help!

I’ve enabled CORS in the config file as suggested here: Easy way to enable CORS

I’ve also enabled it in the .htaccess.

I still get this error every time I submit any form on the site:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at Middleberg Nutrition. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

Any suggestions? Thank you for your time!

You are accessing a resource from a third-party site (MailChimp in this case) on your site. That means it’s the other way around: The headers need to be set at MailChimp.

How to setup a newsletter subscription with MailChimp is beyond the scope of this forum. You might find this kind of information at the MailChimp docs or support.