You have two versions of the same content in HTML (on the website and in PDF). What is the best solution to bringing a user to the site with the full navigation instead of just downloading a PDF file?

✅  The correct answer is:

Using the X-robots rel=canonical header

Question:

You have two versions of the same content in HTML (on the website and in PDF). What is the best solution to bringing a user to the site with the full navigation instead of just downloading a PDF file?

Solution:

  • Using the X-robots-tag and the noindex attribute
  • Introducing hreflang using X-Robots headers
  • Using the X-robots rel=canonical header