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
-
How often is your domain authority updated?
I can't seem to figure out how often our domain authority is updated - it seems random, do you know typically when this happens? Thanks!
On-Page Optimization | | regineraab0 -
My main domain is missing in google, subdomain appears instead.
I have two SEO optimised pages in my website targeting different keywords www.example.com <-- main selling page (Pocket Guitar | Guitar Instruments)
On-Page Optimization | | kevinbp
www.example.com/index/ <-- 2nd selling page (Guitar Australia | Guitar Perth) Q: At first my website "www.example.com" is ranking on google first page. Suddenly it disappears and the link "www.example.com/index/" appears instead. No matter what i search, "Pocket Guitar | Guitar Instruments | Guitar Australia | Guitar Perth", the link www.example.com/index/ appears on the front page instead of www.example.com. What is happening to my main domain? Should i be worried?0 -
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 -
Would a free PDF download diminish SEO benefits of HTML content?
Hello, I am doing SEO for a company that, as a sideline business, sells four books written by the principals; the content is directly relevant to the company's primary business focus. Book sales are a tiny fraction of our overall revenue, and we don't expect that to change, although we will continue to sell the books. In addition to selling them, we have decided to convert the books to HTML and post them for free on our website (laid out by chapter and section). The hope is that this will result in goodwill, links, traffic, and ultimately improved search rankings. My question: Would offering free PDF downloads of the books (in addition to posting the HTML content) diminish the SEO benefits of the HTML content? If we don't offer the PDF option, people would have to visit our site to read the content (unless they bought a hard copy). If visitors were able to download a free PDF, they wouldn't need to return to our site to read it. If our corporate clients (nearly all of our clients are corporations) could download a PDF, they could then post it on an intranet instead of posting a link to our site. In general, do you think a visitor would be less likely to link to our site if he or she were able to download the PDF? Or would the appeal of the PDF option make it more likely that people would visit and link to the site? Also, if we offer the PDF option, are there any SEO issues related to duplicate content? Finally, if we did offer the free PDF download, would you recommend that we ask for an email address before giving the PDF? Thank you very much!
On-Page Optimization | | nyc-seo0 -
Two sites, one with a ccTLD domain, the other with TLD domain, same content
Hi there! I have a site which can be accessed with two different domains: one ccTLD for Spain: www.piensapiensa.es one TLD www.piensapiensa.com Should I take care of something regarding SEO? I have also a redirection from www.piensapiensa.com to piensapiensa.com. I have set up them in webmasters tools individually, with the same sitemap obviously. Thanks in advanced.
On-Page Optimization | | juanmiguelcr0 -
Negatives to using custom sub domain?
So - being photographers, we have our main website, but also, we use a hosted service for all our client galleries (www.zenfolio.com) So, in effect, we have two websites: Our main informational website Our client gallery/proofing website The client gallery has back links to our main website - so, when people are viewing their gallery, they can easily get back to our main site. We also have thrown a few of our preferred keywords in there for SEO purposes. The gallery has thousands of pages which link back to the main site. So.. the client gallery URL can either be: http://ourbusinessname.zenfolio.com OR we can have it so it uses our own domain, such as: http://gallery.ourbusinessname.com The question is, which domain name will benefit the back links more? Our custom subdomain (which links to our main domain) or, using the Zenfolio domain (which is external to our site). Or, is there no real difference either way? Or.. do I make no sense?
On-Page Optimization | | blitzna100 -
One domain with keyword optimized pages or multiple domains
Hi There. I have a client in the real estate law services business. Which is better for long term search traffic? 1. A single domain ie. smith and smith law.com with pages focussing on each neighbourhood they operate in ie. .com/real estate law manhattan.php, .com/real estate law brooklyn.php etc or 2. multiple domains each focusing on one neighbourhood the business operates in ie: real estate law manhattan.com, real estate law brooklyn.com etc Thanks for the help, Josh
On-Page Optimization | | dreadmichael0 -
Cross Domain Duplicate Content
Hi My client has a series of websies, one main website and several mini websites, articles are created and published daily and weekly, one will go on a the main website and the others on one, two, or three of the mini sites. To combat duplication, i only ever allow one article to be indexed (apply noindex to articles that i don't wanted indexed by google, so, if 3 sites have same article, 2 sites will have noindex tag added to head). I am not completely sure if this is ok, and whether there are any negative affects, apart from the articles tagged as noindex not being indexed. Are there any obvious issues? I am aware of the canonical link rel tag, and know that this can be used on the same domain, but can it be used cross domain, in place of the noindex tag? If so, is it exactly the same in structure as the 'same domain' canonical link rel tag? Thanks Matt
On-Page Optimization | | mattys0