@kyleigh.wolff
In a CodeIgniter application, you can place the robots.txt file in the root directory of your project. This is the same location where the index.php file is located.
The file structure would look something like this:
Placing the robots.txt file in the root directory allows search engine crawlers to easily locate and read the file before accessing the rest of your website.