I created a website (filhadath.com) and I want to create a cookie-free domain. I made a subdomain, then set that in wp-config :

define(“WP_CONTENT_URL”, “http://static.filhadath.com“);
define(“COOKIE_DOMAIN”, “filhadath.com”);

I use a CDN so I added static to Cloudflare. Unfortunately, CSS and javascript isn’t loaded by the website when the new wp-content.php is in place.

Read more here: how Make Cookie-Free Domain with wordpress


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: