Hey guys, Normally when I setup my 301 redirect to redirect my site from sample.com to www.sample.com I use this: Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] Code (markup): However, for some reason whenever I set this up Google fails to recognize my backlinks and as soon as I remove it they all pop up at the same time. Can anyone suggest a GOOGLE FRIENDLY 301 redirect which I can use please? Thanks!
Why not use Google Webmasters Tools http://www.google.com/webmasters/tools/ to tell google to treat your sample.com the same as www.sample.com?
I think you did optimization first and then redirection, so you are getting problem. Because if you do like this google has crawled you site first, so the backlinks you got is without www. So just revert this process and then you will get backlinks for your site.