How to set a Cookie-Free Domain with WordPress?
I recently set up a WordPress site here. I added these two lines in wp-config.php:
define("COOKIE_DOMAIN", "www.artisanplombier-pascher.com");
define("WP_CONTENT_URL", "https://static.artisanplombier-pascher.com/wp-content");
When I request the homepage and inspect the network queries with my browser, the assets are loaded with "static" subdomain, however a "cookie" header request is also sent along with the other parameters.
I don't know what I am missing.
Topic cookies installation deployment Wordpress optimization
Category Web