Robots.txt

5-15 minIntermediate

Frontend File.

Easy Recommended

Static File

Public folder.

1

Implementation

1

Contentful is just an API. It does not serve robots.txt.

2

Place robots.txt in your Frontend's static directory.

3

Next.js: /public/robots.txt.

4

Gatsby: /static/robots.txt.

Verification Checklist

  • /robots.txt