Forum Moderators: open

Message Too Old, No Replies

Google finds domain.com not www.domain.com

How do I make www.domain.com appear in Google's search results?

         

sydney

12:15 pm on Apr 21, 2003 (gmt 0)

10+ Year Member



Hi - I'm new here so be gentle :)

My site is listed in dmoz.org with the URL www.domain.com, but Google insists on finding just domain.com. Consequently Google doesn't show the (very positive) "Description" line the editors of dmoz.org have written about www.domain.com.

How can I make Google find www.domain.com instead of domain.com?

P.S. My site's homepage has a PageRank of 7 and 2,200 backward links.

vincevincevince

12:20 pm on Apr 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



welcome :)

the reason is that google crawls both, and will note they are the same, and tries to show the older [one opinion] or the one with the most backlinks [another opinion]. which opinion is right i'm not sure.

to solve it, rewrite the requests without www to one with www using 301 (permenantly moved). this is what I actually use in the .htaccess for the same issue:

Options +FollowSymLinks
RewriteEngine on RewriteBase /
RewriteCond %{HTTP_HOST} ^domain [NC]
RewriteRule ^(.*) [domain.com...] [R=301,L]