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 -
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 -
What automated tools produce a number score for A) On-Page Optimization and B) Domain Exact Match?
SEOMoz Community, -I currently use SEMRush, SEOMoz Open Site Explorer and Archive.org for the other Benefit and Opposition factors. -I’ve had to manually search pages for keyword use in the title, footer & body for on-page optimization. -I’ve also manually searched Google for Domain Exact Matches. Thanks! -Andrew
On-Page Optimization | | Todd_Kendrick0 -
Rebranding and Domain Name Changes
Hi All, One of my clients wants to rebrand http://indiaretailnews.com/ so that it's clear that the site is under the operational umbrella of http://tradebriefs.com/. indiaretailnews.com has a lower domain authority of 20, but because of the domain name it ranks number #2 for the keyword "retail news" for Google India. The client's question: Can we change the site names to TradeBriefsRetail.com orTradeBriefsIndiaRetail.com without affecting the SEO on each site? How do we do this – redirect from TradeBriefsIndiaRetail.com to IndiaRetailNews.com and so on or simply put all the content on the new sites and get rid of the old domains or some other way? Do long domain names cause a problem? Another option is TradeBriefsRetail.in, etc with the domain extension showing the country that the content is for.. In a year or two, we will be expanding to markets outside India. My opinion: Keep the old domains and redirect to something like http://tradebriefs.com/india-retail-news Or perhaps a subdomain: http://indiaretailnews.tradebriefs.com In the short term, I'd imagine rankings will drop, but if we wanted to consolidate domain authority, I was thinking that http://tradebriefs.com/india-retail-news would be the best bet. Thoughts? Kenji
On-Page Optimization | | KenjiCrosland0 -
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 -
Domain.com and www.domain.com
I recently changed the settings in Google Webmaster Tools so that domain.com and www.domain.com are the same. Several quick questions. About how long will it take for Google to list www.domain.com and stop listing domain.com? The .htaccess file uses a 301 to redirect all domain.com paths.to www.domain.com paths. Now that Google has been informed these two are the same, are the 301 rules to add www necessary? The default page is index.php. so domain.com gets 301 to www.domain.com gets 301 to www.domain.com/index.php. Is this the correct way to do things? Are there SEO consultants who will help on small projects such assist on issues like this? Best,
On-Page Optimization | | ChristopherGlaeser
Christopher0 -
Setting up a domain for a future site
Hi there, That may be a bit of a silly question to ask, but we've setup a new domain for an existing site. While the site is in the making, the site owners wants to already start promoting the new URL on stationeries etc. Hence, we need to setup the new URL so that it forwards to the site, but so that Google doesn't give it the history of a secondary (less important) domain. What is the best way to do this? Currently we've put in a 301 redirect, but will that bear no future consequences on the SEO of the site, when the site is moved to this new domain, and the old domain is 301 redirected. Thanks, SEOeclipse
On-Page Optimization | | Bozboz0 -
Competitive Domain Analysis
In the competitve domian analysis my domain root (gpscity.com) is showing up as a 404 not found. My competition is showing up as 200. My site is live, index and viewable, but I'm wondering if this has an effect on my rankings? What can I do to test that it's not returning a 404 when the crawlers view my site?
On-Page Optimization | | tinyfactory0