Hello miles, Ya I am aware about this code, and i hv added this code in htaccess file but its not working. There is any other way to redirection in Joomla.
Add the code below in .htaccess file under the root directory of the domain. Should work as expected. RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.com$ RewriteRule ^(.*)$ "http\:\/\/www\.domain\.com\/$1" [R=301,L]
Are you using a third party SEF component like JoomSEF or 404sef? If so it is possible that one of those components could override the htaccess code fix suggested above. Or, if need be, try installing one of them and turn on that setting in the component's control panel.