Redirect sitemap link to www

Please advise, trying to redirect a link to the sitemap.xml file to WWW. I’m using Smartcrawl on my site and the sitemap is with www, as my site structure is. But the sitemap is loading with and without WWW.