Cookie Free domains
-
What is the advantage of having a cookie free domain and how does one set this up on wordpress?
-
thanks Klarke
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Why are http and https pages showing different domain/page authorities?
My website www.aquatell.com was recently moved to the Shopify platform. We chose to use the http domain, because we didn't want to change too much, too quickly by moving to https. Only our shopping cart is using https protocol. We noticed however, that https versions of our non-cart pages were being indexed, so we created canonical tags to point the https version of a page to the http version. What's got me puzzled though, is when I use open site explorer to look at domain/page authority values, I get different scores for the http vs. https version. And the https version is always better. Example: http://www.aquatell.com DA = 21 and https://www.aquatell.com DA = 27. Can somebody please help me make sense of this? Thanks,
On-Page Optimization | | Aquatell1 -
Multiple domains for the same business
My client purchased over 500 URLs for targeting various customers and ranking for different keywords. It is for the same business though. What is the best strategy to deal with this kind of approach in your opinion. They use different meta data for each of the URLs starting with brand name in meta title. Are there any other points to keep in mind when developing strategy for all those URLs. Is this a good approach?
On-Page Optimization | | alicaomisem1 -
Product pages optimization impact on sub level domains.
How great of an impact will the optimization of product pages have an impact on a sub level domains?
On-Page Optimization | | Martin_Harris0 -
Value of Domain Names
Hello, I have an ecommerce site that sells personalized gifts. I am wondering about the value of purchasing domain names for specific products and have them point to a landing page. For example: the domain name personalizediphonecases.com would point to my page of that product. Is that a good idea? Thank you!
On-Page Optimization | | Confections0 -
Redirect sub domain to domain in .htaccessU
Hi all, (Total newbie with fourth post of the last 7 days askin' for help!...sorry!) I've discovered that we have a lot of URLs indexed with for example: http://test.betxpert.com/some-odd-url This gives me duplicate content in the search engines. I have searched the web and i can not find a solution fore redirecting http://test.betxpert.com/some-odd-url to http://www.betxpert.com/some-odd-url. Can anyone help me what to write in the .htaccess file? Best regards, Rasmus
On-Page Optimization | | rasmusbang0 -
Seo'ing Sub domains for images
We are currently adding some performance improvement to our websites, to improve user experience. One of the things we are looking at is splitting of images over several sub-domains, to increase the number of images that can be downloaded at the same. We have seen that using key phrases within image names has an improvement in rankings. So, the question is should we create sub-domains as key-phrase.example.co.uk or as i1.example.co.uk? K
On-Page Optimization | | soltec0 -
Keyword domains
Hello, I am the proprietor of RacquetSource.com, Is there any merit to using keyword domains and have them redirect to the site, or a specific page on the site? For Example, the keyword term, Squash Racquets, if I were to purchase a domain name, squash-racquets.com and have it redirect to http://www.racquetsource.com/squash-racquets-s/95.htm will this effect positively to my search ranking of the keyword term Squash Racquets? Any insight would be greatly appreciated. Cheers Geoff
On-Page Optimization | | GeoffBatterham0 -
Installing a site on top level domain directory VS deeper directory
How important it is for seo to install a site on a top level directory vs deeper directory? example: www.mysite.com VS www.mysite.com/catalog many eCommerce scripts such as oscommerce and cre loaded will install by default to /catalog and that's what I've been doing for most of my customer. does it mean it will be harder for them to get good seo results? Thanks in advance for the input...
On-Page Optimization | | zigi0