My friend provided me the below command to be insert into .htaccess file, and it redirect my domain.com to http://www.domain.com such as if anyone type http://webblogerz.com to my website, it will then automatically redirect it to become http://www.webblogerz.com
But there's ONE problem after I insert the below code:
Monthly archieve links, single page link and category links cannot work. So I removed the command and they work again.
Any pro programmers could fix this problem?
Command code into .htaccess file:
RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
In my case my command is:
RewriteEngine On RewriteCond %{HTTP_HOST} ^webblogerz\.com$ [NC]
RewriteRule ^(.*)$ http://www.webblogerz.com/$1 [R=301,L]
Please help.
Edwin