I know there is a code you can put in the .htaccess of a site, which makes it redirect so if the user types in "http://example.com" or anything, it redirects to "http://www.example.com". Can anybody give me that code? Do you need to know the domain name I want to redirect to write it (although you can always just give me the template code and I could insert the domain name).
RewriteEngine On RewriteCond %{HTTP_HOST} ^example.com RewriteRule (.*) http://www.example.com/$1 [R=301,L]