The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. On-Page / Site Optimization
    4. Cookie Free domains

    Cookie Free domains

    On-Page / Site Optimization
    3 2 3.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • casper434
      casper434 last edited by

      What is the advantage of having a cookie free domain and how does one set this up on wordpress?

      1 Reply Last reply Reply Quote 0
      • Klarke
        Klarke last edited by

        Advantage? It reduces unnecessary overhead and it's one of many little tweaks you can make to ensure your site is the fastest it can be.

        If you have wordpress setup on www.domain.com, then all your static files (images, css, js) are served along with cookies set on the domain.

        So the basic solution is the create a subdomain of your main domain (or register a whole new domain just for it) and server your static files from that domain.

        I use W3 Total Cache configured to serve all static files from a subdomain which is on Amazon Cloudfront.  W3 automatically rewrites all your theme and images path to the new subdomain.  It's really easy to setup.

        Check these out:

        http://www.allthingsdemocrat.com/w3-total-cache-cookieless-subdomain-godaddy-shared-hosting/

        http://www.riyaz.net/blogging/setup-own-cdn/890/

        In addition to that, I had make tweaks to my Google analytics script to ensure it doesn't set cookies on my cookieless sub-domain.

        casper434 1 Reply Last reply Reply Quote 1
        • casper434
          casper434 @Klarke last edited by

          thanks Klarke

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Old domain to new domain what happens to the old site?
            RossKernez
            RossKernez
            0
            2
            33

          • I dont understand how to serve images and media from cookie free domain ( second post )
            FedeEinhorn
            FedeEinhorn
            0
            6
            1.2k

          • Domain athority for a redirectiones domain
            diegodiaz85
            diegodiaz85
            0
            4
            40

          • Snippet showing as domain name with apostrophe, instead of page title when searching for the domain name.
            K3v1n
            K3v1n
            0
            5
            366

          • Can Robots.txt on Root Domain override a Robots.txt on a Sub Domain?
            RyanPurkey
            RyanPurkey
            0
            3
            522

          • Use cookie-free domains
            KaneJamison
            KaneJamison
            0
            2
            1.1k

          • Redirect sub domain to domain in .htaccessU
            rasmusbang
            rasmusbang
            0
            4
            496

          • 301 redirect (www.domain.com/index to www.domain.com)
            StalkerB
            StalkerB
            2
            12
            16.8k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy