To deliver static content from a cookieless domain follow these steps:
- Create a new subdomain with your provider - e.g. static.your-domain.com
- This subdomain must point to the /wp-content/ folder
- Insert the following code into your wp-config.php
define('WP_CONTENT_URL', 'https://static.your-domain.com'); define('WP_PLUGIN_URL', 'https://static.your-domain.com/plugins');
Your static content is now delivered from a cookieless domain.