I want to add www to my URL e.g example.com.au . Right now if I type www.example.com.au in the browser it gets changed to http://example.com.au . I want it to be http://www.example.com.au . Below is the redirect rule in the serverRewriteEngine OnRewriteCond %{HTTP_HOST} ^www.example.com [NC]RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]What changes needs to be done to the above redirect rule so that www is added to the URL . 
Redirect rule for Apache : Adding www to URL
rhel;apache httpd;url