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
-
Old domain to new domain what happens to the old site?
Hello We rebranded 5 months ago, and set up a new domain for the new brand name which sits on different hosting to the old. We still have the old hosting running with the old site still on it. We have set up redirects to the new domain and wondered when/if we can turn off the old site hosting?
On-Page Optimization | | Scivisum0 -
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 -
Duplicate ecommerce domains and canonical
Hi everybody! I'd like to discuss the SEO strategy I've thought regarding a client of mine and ask for help because it's a serious case of duplicate content. There is a main website (the business model one) where he compares the cost of medicines in several pharmacies, to show the cheapest shopping cart to the customer. But the shopping has to been made in another domain, within the selected pharmacie, because my country's law in Europe says that is compulsory to sell the medicines only on the pharmacy website. So my client has started to create domains, one for each pharmacy, where the differences between them are only some products, the business information of the pharmacy and the template's colour. But all of them shares the same product data base. My aim is to rank the comparing website (it contains all the products), not each pharmacy, so I've started to create different content for this one. Should I place rel=canonical in the pharmacies domains t the original one? For instance: www.pharmacie1.com >> www.originaltorank.com www.pharmacie2.com >> www.originaltorank.com www.pharmacie1.com/product-10 >> www.originaltorank.com/product-10 I've already discuss the possibilities to focus all the content in only one website, but it's compulsory to have different domains in order to sell medicines By the way, I can't redirect 301 because I need these websites exist for the same reason (the law) He is creating 1-3 new domains every week so obviously he has had a drop in his SEO traffic that I have to solve this fast. Do you think the canonical will be the best solution? I dont want to noindex these domains beacuse we're creating Google Local pages for each one in order to be found in their villages. Please, I'll appreciate any piece of advice. Thanks!
On-Page Optimization | | Estherpuntu0 -
Transfer Blog From External Domain
Hi All I am in stages of transferring a blog. We currently have partial manual penalty for unnatural links, and we received sample links of our own blog, which happened to be originally setup on another domain. e.g. example.co.uk and the blogs hosted on exampleblog.co.uk - the only way these were linked were through anchor text in each and every blog - so it's clear why this has been picked up. We are now going to transfer these across to our actual domain. Around 60% of the blogs had no meat, so we have pruned through these. What is the best solution; Redirecting ONLY the good blogs via 301 Redirect and 404 pages with no meat OR Redirecting ONLY the good blogs via 301 Redirect the others to Example.co.uk/Blogs Thanks Tom
On-Page Optimization | | TomPryor830 -
Can you canonical from one domain page to a different domain page
We are a boating site and have our main site with all it's products. We have an engine section within our main site. But we also have an outside domain, specific to a certain manufacturer of engines. So we want our customers to still find the engine information for this manufacturer within our main site, as well as find the manufacturer targeted engine site in the SERPS. My question is this: Can I canonical those pages within our main site to pages on the outside domain? Or does are canonicals to be used only within the same domain? Thanks,
On-Page Optimization | | tdawson090 -
URL Domain Used in Meta Description
Today I was asked if using a domain url in your meta description can have a negative impact on your website. This description includes a list of the homepage url, but directs visitors to a different internal page of the website. My concern fell with directing visitors to a different page of the site, but promoting the homepage in the description/snippet. With Penguin 2.1 release on the 4th, I'm very cautious of my links/urls. What are your thoughts behind this? What are the possible, if any negative impacts this could have on a site? This URL does have a brand name as so the Title.
On-Page Optimization | | flcity150 -
Where Can I Find Freelance Writer? Content free from Copyscape
Hi, Anyone know where i can get freelance worker that writes
On-Page Optimization | | chanel27
about 500 to 600 words original article that is free from Copyscape? And also how much does it cost in general?0 -
Branded keyword domain not appearing in Google
Hi, I have a site called www.emv-cards.com but the site has a very poor showing on Google for the search term 'emv cards' and this does not make sense to me. It has position #6 on Bing but is not in Google's top 50. Any assistance would be appreciated. regards, George.
On-Page Optimization | | sirgeorge0