Redirect Engine for htaccess


I want to know more about rewrite engine on code for htaccess

If I have to redirect www version to non www then how can I apply for my site?

Is it diff from 301redirect or its similar?

And if we use conical tag in Meta tags what effect and what will be the difference between both

Please help me. Thanks in advance

For redirection use 301(for permanent redirection) or 302(for temporary redirection) redirection… 301 is search engine friendly redirection. Put any one of code on htaccess file.