How to set "cookieless domain" for subdomains?

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?

Leave a Reply

Your email address will not be published. Required fields are marked *