Hello Dp'ers I am in need of small help from you guys. Can any one please clear this: I noticed that when i checked my "site:domain.com" on Google i got some www and non www version of my domain. And I have read on the net that google things that it's aduplicate content and I am worrying about that so as I am going to SEO my website. What I want from you guys that I want to google Index/Cached my WWW version only. So do i do that? Clear example and explanation will helps me a lot.
That is really a bad practice to have your own domains replica in 2 versions. Canonical URLs would be your solution. Which means, you either have total www's or total non www's. You can do that using 301 redirection [just google for it]. OR if you are using wordpress, directly change it from general settings.
Yes, What I am looking for,Thanks buddy. I open an account on google webmaster tool and select a www version only, Which I did this a week ago but dint see the changes on Google the same 2 versions shows as before. So please tell me can I use the domain redirect option as a 301 redirect from my cpanel??? Or I have to wait as I did on Google Webmaster tool.???? BTW, I am using a unique design for my website and not a wordpress.
You can use .htaccess for this, use following code. RewriteEngine on Redirect 301 olddomain.com http://www.new-domain.com/