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?
Choose an answer
Tap an option to check your answer.
Correct answer: Using the X-robots rel=canonical header.
Why this is the answer
The X-robots rel=canonical header is the best solution because it tells search engines that the HTML version is the preferred, canonical version of the content. This directs users to the website with full navigation, rather than the PDF. Introducing hreflang using X-Robots headers is incorrect because hreflang is used for specifying language and regional targeting, not for canonicalization. Using the X-robots-tag and the noindex attribute is incorrect because noindex would prevent the PDF from being indexed at all, which might not be the desired outcome if you still want the PDF to be discoverable in some contexts, and it doesn't solve the canonicalization problem of preferring the HTML version.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed