Adding a robots.txt to your Ghost Blog


Ghost has built in support for using a robots.txt file. If you are unfamiliar with robots.txt or want to check out some examples, check out the WikiPedia page.

To add a robots.txt file to your blog, simply create a robots.txt file, add it to the base of your theme, and restart Ghost.

A basic example of blocking your entire blog from all web crawlers would look like this:

User-agent: *
Disallow: /

For example, in the Casper theme, it would look like this:

alt