I installed this code in my root htaccess file it seems to work and all but I want to make sure its the right way. RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com RewriteRule (.*) http://www.example.com/$1 [R=301,L] I have read it may help move any links that are under my http ://example. com listing and redirect them to my www. example. com list for the search engines. I guess I am trying to standardize my URL to http:// www. example. com. It looks like the search engines have indexed more under http:// example. com then under http:// www. example. com. I know in time it should go to my standardized direction. I want to know if this thinking is correct? Is this the proper code for this type of redirect? It is my first website for my company and still being tweeked.
I'm wondering though vamoosevarmint, why did you choose the www variant if Google had more non-www pages indexed?