Which of the following is NOT a correct canonical tag implementation?
Choose an answer
Tap an option to check your answer.
Correct answer: Use canonical= in robots.txt.
Why this is the answer
The correct answer is "Use canonical= in robots.txt" because canonical tags are not implemented within the robots.txt file. Robots.txt is used to instruct search engine crawlers which parts of a website they should or should not access, not to specify canonical URLs. The other options are valid ways to implement canonical tags. "Use rel="canonical" link tag" refers to placing the tag within the HTML head section of a page, which is the most common and recommended method. "Use rel="canonical" HTTP header" is an alternative for non-HTML documents like PDFs, or when you cannot directly edit the HTML, allowing you to specify the canonical URL in the HTTP response header.
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