Problem
It may not matter to you. But it may matter to a search engine. A website with or without www in front will make a difference in your PageRanking. Because it separates the linking population giving weight to different sites which is actually the same… Some to link to your site with www… Some to link to your site without www…
Solution
Since this is something you might not be able to do, why not do a 301 Redirect? This way, you are telling all search engines to point to that site whenever they link to you…
I would always recommend to add a www in front of your domain name. It creates a standardisation and gives a very good format of an Internet website.
This only works with apache webservers only. For other servers, please look for relevant documentations for “301 Redirect”… In your .htaccess file (or if you cannot find, simply create a new file called “.htaccess”), add the following code to it.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(.*)\.charleslau\.com$ [NC]
RewriteRule ^(.*)$ http://www.charleslau.com/$1 [R=301,L]
So after you wrote it this way, you will not have to bother about www… Because all urls including the one that you typed will be forwarded to www.charleslau.com.. Remember to change your url accordingly or else you would be forwarding your traffic to me.. Well, I thank you for it!



















