I would like redirect site on start if address is without www. For example if:
http://page.com - should redirect to http://www.page.com
http://page.com/news/first - should redirect http://www.page.com/news/first
i have:
RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
RewriteRule . http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
why this not working? How can i make it?