I have searched over web and there are plenty of plugins who does the job, but there is a problem with wordpress hosting, it redirects back from www to non-www and resuslts error "too many redirects". I tried to change settings from admin panel settings> General > site url. But its disabled there, I cannot change it. This option is enabled to change on other hosting servers but not on wordpress.com hosting.
I tried it to do that through htaccess but still not working.
if information is not enough I can provide more info.
Kindly help me out with this problem.
Thanks in advance!