yeah, thats what I do!!!
This is something that a lot of us don’t look into closely.
Go to the address bar of your browser and type your blogs address. Once with WWW in it and second time without WWW .
Example : Type iSimplyBlog.com and then www.iSimplyBlog.com
In an ideal scenario iSimplyBlog.com should do a 301 redirect (meaning moved permanently) to www.iSimplyBlog.com
Why is this necessary?
Well, search engines won’t be able to understand otherwise that iSimplyBlog.com and www.iSimplyBlog.com are one and the same site!
You can either have non-WWW redirect to WWW or the other way round.
I chose non-WWW to WWW simply because Google does the same ;o)
1. Check the type of redirect (if any) here
2. If there is no 301 Moved Permanently then read further
3. Copy paste the below code to your .htaccess file
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.*$
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
Read This post for more details. I got the above code from the same site.
Hope you now have a 301 redirect to one of the URL types.
Kiran
January 26th, 2009 at 6:37 pm
on my MAC, i have never typed www for any website. I simply type the name…not even dot com
Nischal Shetty
January 27th, 2009 at 1:34 am
@Kiran
Looong time!! Nice to see you around
Yeah, you do not need to type www or .com if you do not wish to but then your browser does that for u. But suppose if its .net, then what do you do?
You must be typing example.NET right? In such cases the browser wont handle the “www” part. This is where the redirect takes up its job
Besides, the redirect suggestion is a search engine optimization tip