[Mediawiki-l] Accessing Robots.txt with the Wiki in the Domain Root

Rob Church robchur at gmail.com
Sun Apr 8 11:01:13 UTC 2007


On 08/04/07, Emufarmers Sangly <emufarmers at gmail.com> wrote:
> Anyway, things worked fine with this for a while, until recently, I noticed
> that the robots.txt file for my domain wasn't accessible: It had been the
> last time I checked, so I have to assume that a software upgrade changed
> something here.  Does anyone know a way I could kludge (through .htaccess,
> or whatever) robots.txt (and sitemap.txt) into being accessible, without
> changing the root structure?

Your rewrite rule is likely rewriting everything in the root
namespace, which is one of the reasons we strongly recommend not
filling up your root namespace in this manner. You may or may not be
able to get away with some kludges to prevent rewriting cases such as
robots.txt.


Rob Church



More information about the MediaWiki-l mailing list