When should you use a robots.txt file?

  • When you have multiple versions of a page to indicate the preferred version
  • When your website receives a penalty from Google
  • When you have pages that you don’t want search engines to crawl and index
  • Whenever you feel like it

The correct answer is:

  • When you have pages that you don’t want search engines to crawl and index.

🎓 Get all the latest and 100% correct HubSpot SEO Certification Exam Answers