Seo Tip for : Common Canonical Homepage Issue Bad http://www.abcdexamplesite.com http://abcdexamplesite.com http://www.abcdexamplesite.com/index.html http://abcdexamplesite.com/index.html Good http://www.abcdexamplesite.com/ To compressed the four default homepages into one homepage, use 301 redirects to correct for wrong incoming links and make all internal links point to your domain using the syntax ‘http://www.abcdexamplesite.com/’. Always include trailing “/†on folders.
Awesome, I was just reading about this 5 minutes ago on SEO Journal. I use geekhang.com as my homepage URL everywhere. www.geekhang.com redirects to geekhang.com.
The right way would be to do it using your htaccess file instead of a 301 redirect. RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.htm\ HTTP/ RewriteRule ^index\.htm$ http://www.yoursite.com/ [R=301,L] RewriteBase / RewriteCond %{HTTP_HOST} ^yoursite.com$ RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]
@monfis: You are doing 301 redirect using .htaccess ;-) Apart from the redirect, I also recommend telling Google about your preferred domain URL (with webmaster tools).