typo iconapache icon

SEO - to www or not

Posted in , , Fri, 21 Jul 2006 03:25:00 GMT

Many popular sites in the Typo community have chosen not to include www. in their domain name. I was curious about this because it isn't very common in websites overall. Then I ran across a Typo Forums thread saying dropping the www. with a 301 redirect would improve SEO. I wonder if this thread or something similar in the Typo community influenced many of the sites.

Doing a little more searching I found a Digital Point thread where the general concensus is that having www. or not doesn't really matter but you should pick one and do a 301 redirect from one to the other so they don't appear as different sites to search engines. I also checked some high traffic sites in Google to see how they are indexed, e.g. searching on [site:myspace.com] shows MySpace's domain indexed as www.myspace.com. Since dev411.com was indexed with www. already and responding to both dev411.com and www.dev411.com, I simply added a 301 redirect to www.dev411.com.

The following from the Digital Point thread adds a 301 redirect for Apache:

RewriteEngine on 
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]

However, it seems that many sites do not do a redirect and serve content on both www.domain.com and domain.com. MySpace and Ruby on Rails (rubyonrails.org) are two such sites. Although one is preferred, both are responded to with HTTP 200 status. Perhaps the SEO issue isn't as important of a consideration for those sites.

The other consideration when using cookies. If you wish your users to access your website with no subdomain as well as multiple other subdomains, you will need cookies that can work across both uri styles. To set a cookie that will work without a subdomain, set without the Domain attribute. To set a cookie that will work with multiple subdomains set a cookie with a domain that starts with a dot. To cover both bases, i.e. if you wanted to set session cookies that work across different uri styles, set both cookies with the same name.

Edited 16 June 2007 to discuss non-redirecting sites and cookies.

del.icio.us:SEO - to www or not digg:SEO - to www or not reddit:SEO - to www or not spurl:SEO - to www or not wists:SEO - to www or not simpy:SEO - to www or not newsvine:SEO - to www or not blinklist:SEO - to www or not furl:SEO - to www or not fark:SEO - to www or not blogmarks:SEO - to www or not Y!:SEO - to www or not smarking:SEO - to www or not magnolia:SEO - to www or not segnalo:SEO - to www or not

1 comment

mysql icontypo iconapache iconlighttpd icon

Birth of a Typo Blog

Posted in , , , Wed, 21 Jun 2006 22:04:00 GMT

I'm giving Typo a shot after hearing some good things about it and having performance problems at a hosted blog service. It's been pretty good so far. Let's see how it runs in action.

I'm currently using the Lucid theme. So far I've played with Azure (the default), Lucid and Phokus. The default font size seems smaller than normal on other sites. Let me know if it's too small or there are other issues.

Up until now, my wiki has been the only app at this domain. I'm leaning towards putting commentary, questions, short summaries and the like in the blog while the wiki would still contain reference type information. To that end, I put up some detailed Typo install instructions covering MySQL, Apache, lighttpd and FastCGI on the wiki. Right now it just covers installation as I'm just getting into customizing the template. Let me know what you think.

del.icio.us:Birth of a Typo Blog digg:Birth of a Typo Blog reddit:Birth of a Typo Blog spurl:Birth of a Typo Blog wists:Birth of a Typo Blog simpy:Birth of a Typo Blog newsvine:Birth of a Typo Blog blinklist:Birth of a Typo Blog furl:Birth of a Typo Blog fark:Birth of a Typo Blog blogmarks:Birth of a Typo Blog Y!:Birth of a Typo Blog smarking:Birth of a Typo Blog magnolia:Birth of a Typo Blog segnalo:Birth of a Typo Blog

no comments