<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: www vs no-www and cookies</title>
	<atom:link href="http://www.phpied.com/www-vs-no-www-and-cookies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/www-vs-no-www-and-cookies/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: David Jenyns</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-75377</link>
		<dc:creator>David Jenyns</dc:creator>
		<pubDate>Wed, 22 Dec 2010 19:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-75377</guid>
		<description>Thanks for pointing out this area of inquiry regarding www or no www. This information is something that a lot of newbie and seasoned Internet Marketers will surely benefit from. You hit the nail in the head when you say thought about posting your opinion on a topic like this.

It’s a must to build links back to your website and do it consistently. For example, you’re building a whole lot of links back to your website and using the url as the anchor text for those links. In my opinion, it’s important if you still remember that there are used you are consistent and always use the www version. - although you can still link back to your website without these www, and mightl still work, it’s not a good idea for SEO reasons.  

That said, I would choose the www version when building links because these search engines see both pages as two separate versions. 

It would also be a great help if you can chat to your webmaster about these concerns immediately. This is to properly funnel the links pointing to your site bearing the preferred domain

Cheers,
Dave</description>
		<content:encoded><![CDATA[<p>Thanks for pointing out this area of inquiry regarding www or no www. This information is something that a lot of newbie and seasoned Internet Marketers will surely benefit from. You hit the nail in the head when you say thought about posting your opinion on a topic like this.</p>
<p>It’s a must to build links back to your website and do it consistently. For example, you’re building a whole lot of links back to your website and using the url as the anchor text for those links. In my opinion, it’s important if you still remember that there are used you are consistent and always use the www version. &#8211; although you can still link back to your website without these www, and mightl still work, it’s not a good idea for SEO reasons.  </p>
<p>That said, I would choose the www version when building links because these search engines see both pages as two separate versions. </p>
<p>It would also be a great help if you can chat to your webmaster about these concerns immediately. This is to properly funnel the links pointing to your site bearing the preferred domain</p>
<p>Cheers,<br />
Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Vassbotn Røyne</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-72551</link>
		<dc:creator>Alexander Vassbotn Røyne</dc:creator>
		<pubDate>Sat, 27 Mar 2010 23:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-72551</guid>
		<description>I am struggling with the problem here. I have a CDN on the same domain as my blog, but that will not help, thanks to badly written 3rd party scripts, such as Google Analytics, Disqus and what not. When will they start to comply with simple standards? 

Take Analytics for example, if I wanted to have statistics on subdomains, then there shouls be an option for that, same as an option to set cookies for top level domains..</description>
		<content:encoded><![CDATA[<p>I am struggling with the problem here. I have a CDN on the same domain as my blog, but that will not help, thanks to badly written 3rd party scripts, such as Google Analytics, Disqus and what not. When will they start to comply with simple standards? </p>
<p>Take Analytics for example, if I wanted to have statistics on subdomains, then there shouls be an option for that, same as an option to set cookies for top level domains..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71964</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Mon, 14 Dec 2009 19:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71964</guid>
		<description>If you use Google Analytics, then the cookies that provides is via *.example.com - so, as per their tutorial page, you&#039;ll *have to* use a separate domain name for static files if you want to keep it cookie-free (at least pre-asynchronous tracking anyway).

http://code.google.com/speed/page-speed/docs/request.html#ServeFromCookielessDomain</description>
		<content:encoded><![CDATA[<p>If you use Google Analytics, then the cookies that provides is via *.example.com &#8211; so, as per their tutorial page, you&#8217;ll *have to* use a separate domain name for static files if you want to keep it cookie-free (at least pre-asynchronous tracking anyway).</p>
<p><a href="http://code.google.com/speed/page-speed/docs/request.html#ServeFromCookielessDomain" rel="nofollow">http://code.google.com/speed/page-speed/docs/request.html#ServeFromCookielessDomain</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71960</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Mon, 14 Dec 2009 10:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71960</guid>
		<description>Alternatively you could use a separate domain-name for static files.</description>
		<content:encoded><![CDATA[<p>Alternatively you could use a separate domain-name for static files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias Bynens</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71959</link>
		<dc:creator>Mathias Bynens</dc:creator>
		<pubDate>Mon, 14 Dec 2009 10:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71959</guid>
		<description>Just to be clear: you should of course redirect to the variant of your choice, i.e. if you want to use no-www, you should redirect from yes-www URLs and vice versa.</description>
		<content:encoded><![CDATA[<p>Just to be clear: you should of course redirect to the variant of your choice, i.e. if you want to use no-www, you should redirect from yes-www URLs and vice versa.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias Bynens</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71958</link>
		<dc:creator>Mathias Bynens</dc:creator>
		<pubDate>Mon, 14 Dec 2009 09:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71958</guid>
		<description>Interesting research! However, I can&#039;t help but feel like you&#039;ve drawn the wrong conclusion. Saying using www in your URLs is part of the solution is simply incorrect.

Obviously, it&#039;s a bad idea to allow a web page to be visited by two distinct URLs, i.e. http://www.phpied.com/ vs. http://phpied.com/. This article names one of the reasons (no-www cookies may not be read when a user switches from to www and vice versa), but obviously there are other reasons, such as SEO (search engines will see both URLs as separate documents) and uniformity. In a way, you could even say making a choice between www and no-www and sticking to it, prevents users from getting confused.

TL;DR: Just make a choice between www and no-www and stick to it. Problem solved.</description>
		<content:encoded><![CDATA[<p>Interesting research! However, I can&#8217;t help but feel like you&#8217;ve drawn the wrong conclusion. Saying using www in your URLs is part of the solution is simply incorrect.</p>
<p>Obviously, it&#8217;s a bad idea to allow a web page to be visited by two distinct URLs, i.e. <a href="http://www.phpied.com/" rel="nofollow">http://www.phpied.com/</a> vs. <a href="http://phpied.com/" rel="nofollow">http://phpied.com/</a>. This article names one of the reasons (no-www cookies may not be read when a user switches from to www and vice versa), but obviously there are other reasons, such as SEO (search engines will see both URLs as separate documents) and uniformity. In a way, you could even say making a choice between www and no-www and sticking to it, prevents users from getting confused.</p>
<p>TL;DR: Just make a choice between www and no-www and stick to it. Problem solved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71109</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 11 Jul 2009 15:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-71109</guid>
		<description>Denis, when you use the HTTP protocol, you are on the World Wide Web which is a part of the Internet.  Are you trying to say that a website is not part of the World Wide Web?  The World Wide Web is a combination of http, html, and browsers - invented by Tim Berners-Lee.  I&#039;m not sure what you are getting at as including www would just enforce the fact that the website is part of the World Wide Web (which is true).  And yes, I&#039;m familiar with no-www.org, and I support it only because it is faster to omit the www, not because it doesn&#039;t make sense to use www.

http://www.webopedia.com/DidYouKnow/Internet/2002/Web_vs_Internet.asp</description>
		<content:encoded><![CDATA[<p>Denis, when you use the HTTP protocol, you are on the World Wide Web which is a part of the Internet.  Are you trying to say that a website is not part of the World Wide Web?  The World Wide Web is a combination of http, html, and browsers &#8211; invented by Tim Berners-Lee.  I&#8217;m not sure what you are getting at as including www would just enforce the fact that the website is part of the World Wide Web (which is true).  And yes, I&#8217;m familiar with no-www.org, and I support it only because it is faster to omit the www, not because it doesn&#8217;t make sense to use www.</p>
<p><a href="http://www.webopedia.com/DidYouKnow/Internet/2002/Web_vs_Internet.asp" rel="nofollow">http://www.webopedia.com/DidYouKnow/Internet/2002/Web_vs_Internet.asp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yao Uno Igor</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-69861</link>
		<dc:creator>Yao Uno Igor</dc:creator>
		<pubDate>Fri, 22 Aug 2008 20:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-69861</guid>
		<description>Denis, the byte length of the domain name is not the problem. When you set a cookie to a top level domain like whatever.org, that cookie is sent by most browsers to any other server, like images.whatever.org. The images server doesn&#039;t need the cookies, so the performance issue is the overhead of sending a cookie with every image for no reason. While some companies use a separate domain for non-HTML media, not all do. Additionally, you might want to try decaf. It&#039;s easier on the nerves.</description>
		<content:encoded><![CDATA[<p>Denis, the byte length of the domain name is not the problem. When you set a cookie to a top level domain like whatever.org, that cookie is sent by most browsers to any other server, like images.whatever.org. The images server doesn&#8217;t need the cookies, so the performance issue is the overhead of sending a cookie with every image for no reason. While some companies use a separate domain for non-HTML media, not all do. Additionally, you might want to try decaf. It&#8217;s easier on the nerves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www vs no-www and cookies &#124; PHP Readings</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-68820</link>
		<dc:creator>www vs no-www and cookies &#124; PHP Readings</dc:creator>
		<pubDate>Thu, 15 May 2008 05:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-68820</guid>
		<description>[...] Very good article of using cookies with domains including www and without it. Why it is important  to use or not to use cookies, and some grate tips you would find in this post. One of Yahoo&#8217;s performance rules says: Use cookie-free domains for static components. This is good because the server has no use for cookie information when serving a JPEG or another static component, so all this cookie information creates network traffic for no reason. [...]</description>
		<content:encoded><![CDATA[<p>[...] Very good article of using cookies with domains including www and without it. Why it is important  to use or not to use cookies, and some grate tips you would find in this post. One of Yahoo&#8217;s performance rules says: Use cookie-free domains for static components. This is good because the server has no use for cookie information when serving a JPEG or another static component, so all this cookie information creates network traffic for no reason. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan Stefanov&#8217;s Blog: www vs no-www and cookies &#124; Development Blog With Code Updates : Developercast.com</title>
		<link>http://www.phpied.com/www-vs-no-www-and-cookies/#comment-68762</link>
		<dc:creator>Stoyan Stefanov&#8217;s Blog: www vs no-www and cookies &#124; Development Blog With Code Updates : Developercast.com</dc:creator>
		<pubDate>Wed, 14 May 2008 16:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/www-vs-no-www-and-cookies/#comment-68762</guid>
		<description>[...] Stoyan Stefanov has come up against one of the frustrations of web development involving cookies - problems caused by the switch from a &#8220;www.&#8221; in the host to none. He&#8217;s come up with a test to show you how cookies are set and where you can access them from.   One of the implications of following the rule is related to the whole www vs no-www question. Basically you should always use www if you&#8217;re planning to use any other sub-domains and you want them cookie-free. This is because you have no way to set a cookie only to the top-level domain. [...]</description>
		<content:encoded><![CDATA[<p>[...] Stoyan Stefanov has come up against one of the frustrations of web development involving cookies &#8211; problems caused by the switch from a &#8220;www.&#8221; in the host to none. He&#8217;s come up with a test to show you how cookies are set and where you can access them from.   One of the implications of following the rule is related to the whole www vs no-www question. Basically you should always use www if you&#8217;re planning to use any other sub-domains and you want them cookie-free. This is because you have no way to set a cookie only to the top-level domain. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

