How to avoid the content penalty for duplicates?

Some of the ways to avoid this are:

  1. To use a 301 redirect to the original URL
  2. To use a rel=canonical attribute to the original content. This tells the search engine that a specific URL represents the original webpage
  3. To opt for a preferred domain in the Google Search Console. This can redirect spiders to crawl web pages in different ways