Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
robots.txt by namespace
Avatar
seb_1204 #1
Member since May 2008 · 32 posts · Location: AU;Sydney
Group memberships: Members
Show profile · Link to this post
Subject: robots.txt by namespace
hi,

is it possible to control certain namespaces by robots.txt?

e.g.:
allow: ../doku.php?id=blog:*
disallow: ../doku.php?id=private:*

thanks for the help,

seb
Avatar
andi (Administrator) #2
Member since May 2006 · 1621 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
No. At least not in the suggested form. robots.txt only works on directories. You need to enable rewriting and set the useslash option to use a robots.txt for namespaces.

Robot exclusion can also done via headers, there might be a syntax plugin that can set those headers for you. Check your self.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-22, 07:43:22 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate