I am using WordPress Multisite like example.com and ja.example.com.

I serve images, JavaScript files from a static domain (like static.example.com or static1.example.com).

But I don’t understand how to set cookieless domain on WordPress because example.com and ja.example.com are cookie domains.

If I put define('COOKIE_DOMAIN', 'seoartgallery.com'); in wp-config.php, some error occur.

Read more here: How to set "cookieless domain" for subdomains?


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: