Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / Archive / Improve robots.txt

Providing a proper robots.txt file will help your sites to be indexed better

Trustmaster
#1 2010-02-19 01:24
Cotonti comes with robots.txt file, but it's actually a very poor one:
User-agent: *
Disallow: /datas
Disallow: /images
Disallow: /js
Disallow: /skins

I think we should provide much more advanced robots.txt file, so Cotonti will be indexed better, especially for those who don't edit this file themselves.

So, if you are familiar with robots.txt, feel free to post your snippets, comments and advice here to help us with it.

Added 52 days later:

Bump! Really nobody has dealt with robots.txt?
May the Source be with you!

This post was edited by Trustmaster (2010-04-12 19:02, 9 years ago)
Lombi
#2 2010-04-12 20:14
The main thing missing here is the fact that we need to link to the sitemap file (if it exists).

Apart from that there is no indexing benefits inside of robots.txt
<a href="http://www.domenlo.com">Surreal Art</a>
Trustmaster
#3 2010-04-12 21:24
So, just using the Sitemap plugin is a better idea, isn't it?
May the Source be with you!