15 lines
655 B
Markdown
15 lines
655 B
Markdown
---
|
|
layout: post
|
|
title: Ghost um eine robots.txt erweitern
|
|
---
|
|
Ich nutze ja [Ghost](http://www.ghost.org "Ghost Webseite") als Blogging Software.
|
|
Um Ghost um eine [robots.txt](http://de.wikipedia.org/wiki/Robots_Exclusion_Standard "Wikipedia Artikel über die robots.txt") zu erweitern, muss diese einfach im Ordner vom Theme erstellt werden.
|
|
```bash
|
|
$ cd /var/www/blog.nicojensen.de/content/themes/Vapor/
|
|
$ nano robots.txt
|
|
```
|
|
|
|
Da Ghost keine sitemap.xml erstellt macht es sinn den RSS-Feed als Sitemap in der robots.txt anzugeben, da die meisten Bots den RSS-Feed auch als Sitemap nutzen können.
|
|
```bash
|
|
Sitemap: https://blog.nicojensen.de/rss
|
|
```
|