Reputation: 81
Where to place the robots.txt file in codeigniter.
I dont no how to put where folder.
User-agent: *
Disallow: /
Upvotes: 1
Views: 3871
Reputation: 4849
The robots.txt file MUST be placed in the document root of the host. It will not work in other locations.
If your host is example.com, it needs to be accessible at http://example.com/robots.txt.
Upvotes: 3