The simplest way to add and manage redirects in WordPress is by using the Redirection plugin. Simply install and activate the plugin and then visit Settings » 301 Redirects to add your URL. Or If you want to make your redirects faster, then you can do so by using the code method and .htaccess file.
Through advantage of .htaccess file you can to sort any Redirect from old url to new url as well as non-www. to www. Permanently Redirection. OR Redirection is the plugin that I use and strongly recommend for 301 redirections.