3 days ago I completed doing this for my blog. This mean people now can access my blog will appear www on the address bar. Before I change this my blog still appear without www in front of my blog address althought I already enter on sidebar using www. Today I have fixed it. Now ready to share for people using 4 options below of these tips. Here you are :
1. Using a 301 Redirect from your hosting
Some of hosting has redirect option in panel directly. But for doing this don’t forget to change permission your .htacess file from 644 into 777 for writable. After that you have to fill this on your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
Don’t forget to changing back your .htaccess permission into 644 for security.
Related post for these 301 redirect you cand find here
2. Using some preference Plug-in with install enforce www
You must install and active enforce www preference plugin. This simple way to redirect your URL appear into http://www.yourdomain.com when you enter http://yourdomain.com
3. Use Google Sitemap to Set Preferred Domain
Just Login Google Sitemap, go on Tools > set preferred domain. There are 3 options ready for you to choose as below, select one of them as you wish.
Option 1: Display URLs as www.yourdomain.com (for both www.yourdomain.com and yourdomain.com)
Option 2: Display URLs as yourdomain.com (for both www.yourdomain.com and yourdomain.com)
Option 3: Don’t set an association.
4. Configure from wordpress setting ( if you use this blog platform )
This is my default favorite when adding this. It’s simple you just log in on wordpress
(http://www.yourdomain.com/wp-admin), go on Options tab and then on General Options selected there is Wordpress Address(URL) & Blog Address(URL) that must be fill with http://www.yourdomain.com both. Done ! You now can see your domain appear on address bar like http://www.yourdomain.com when you enter yourdomain.com
Popularity: 60% [?]
Here for some similar post :
I am Blogger who interested with many things. Know about blogging stuff in 2003 but actually familiar with it and start for blogging in 2007 using wordpress platform. Wordpress is amazing CMS. Wordpress has supported with many plugin & themes. 
















































