Please don't tar and feather me on this one, I am quite new to everything SEO etc... I usually use site:www... to find my pages indexed by google. Like a lot of people I lost a big chunk of mine a while ago. Then I came across http://www.elixirsystems.com/tools/linkpopularity.php which seems to pick up a lot more pages indexed by using site:yoursite.com, so they leave off the www. They report shows results from both queries. What do you guys make of this?
It means you should be using mod_rewrite to forward your non-www links to your www pages. RewriteEngine On RewriteCond %{HTTP_HOST} !^(.*)\.domain\.com$ [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L] Code (markup):
So even if I have never posted a link anywhere excluding the www I must still forward them with mod_rewrite?
Thanks for the advice stymie and romance, any idea's on where I can find a good concise overview of mod_rewrite?