Generate redirect directives for your site for redirecting www version to non-www version and vice versa.