Both Urls got Good Rank on Google! Help! Please!


#1

I have a wordpress blog, let’s call it a.com, I bought a.com domain name from Godaddy and changed DNS analysed it to Dreamhost, but after about two months when Google started giving my blog some rank, I found both a.com and www.a.com listed on SERP! And both of them were on the first page! I chose “redirect a.com to www.a.com” when I add host to this domain! So I really want to know how should I fix this problem? Any replies will be appreciated.

P.s I’ve edited .htaccess of my blog and used 301 redirect a.com to www.a.com, here is the .htaccess content:

BEGIN WordPress

rewriteEngine on rewriteCond %{http_host} ^a.com[NC] rewriteRule ^(.*)$ http://www.a.com/$1 [R=301,L] RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

#2

More than 800 views and 0 reply… - -"