• I am trying to speed up my site, and checking it with sites like Gtmetrix gives me the grade of F in the area of “Cookie Free Domain.” and I have been trying to wrap my head around exactly how to do this. I have googled and found the info that says to do the following:

    1) Create a subdomain such as static.yourwebsite.com which is where you will deliver all your static files from.
    Ok easy enough to do.
    2) Point your new subdomain to the /wp-content directory of your WordPress installation.
    ok, that’s easy to do also
    3) Edit your config.php file to reflect the following:

    define("WP_CONTENT_URL", "https://static.yourwebsite.com"); 
    define("COOKIE_DOMAIN", "www.yourwebsite.com");

    ok, I did that
    Now that your cookie domain and static content subdomain are set, you can begin delivering static content without the server setting an unnecessary cookie for static assets.
    Ok, this is where I am confused – am I supposed to put another install of wordpess on the static subdomain? what exactly do I do here in this step?

    • This topic was modified 7 years, 10 months ago by webslugger.
    • This topic was modified 7 years, 10 months ago by bdbrown.
Viewing 1 replies (of 1 total)
  • Hey dear,

    You seem very interested in using Cookie free subdomain, here is a complete guide for especially you.

    I hope you will find it helpful. I would greatly appreciate if you kindly leave a feedback.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘“Cookie Free Domain” help please’ is closed to new replies.