Do I need a robots txt? Yes, you do, especially if your website has many pages and lots of content. This text file is a simple way to tell the search engines to ignore some pages and not index others. It also allows you to target a specific bot or spider. There are two main ways to do this, one of which is by including the “/” in your file.