A developer which i labored with explained that people had the non-www version from the site redirecting towards the www version utilizing a Wordpress database setting, not the .htaccess file. Does anybody understand how to do that?

By trying to gain access to a WordPress site using anything apart from the website address occur the overall configurations tab (Visit the admin panel, and then click "Configurations" then "General configurations" within the left side menu) it'll instantly redirect you.