Thank you for your question regarding your .htaccess. You can setup a 301 redirect in the ,htaccess to go from www to non-www by using the following code.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
Thank you for your question regarding your .htaccess. You can setup a 301 redirect in the ,htaccess to go from www to non-www by using the following code.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
Best Regards,
TJ Edens