How to Best Use 301 Redirects

301 redirects are important in search engine optimization because they are the only type of redirect that does not carry a penalty. It is best to program them through your server using the .htaccess file. 301 redirects are essential to SEO in a few cases. First, use them when you have moved to a new domain so your users can continue using the former website name. Second, use them when people are using multiple URLs for the same page, including www and non-www addresses. Choosing a canonical page and redirecting will save a website from getting penalised for duplicate pages. Last, use 301 redirects when you are merging websites or merging pages.