Forums / Install & configuration / r0b0ts.txt taking over forum posts
Geoff Bentley
Sunday 14 December 2008 12:22:15 pm
Every time I go to a posts that contains r0b0ts.txt in it on this forum, I'm sent the ez.no r0b0ts.txt.
It would be really nice to be able to discuss eZ & r0b0ts.txt, or see what others have said, but this makes it impossible!
Kristof Coomans
Sunday 14 December 2008 11:44:05 pm
Hello Geoff
Can you give an example of such a post here on the forum?
Most likely, it's the rewrite rules that are not correct, and match more than a literal "robots.txt".
The correct rewrite rule (as also mentioned in the eZ Publish technical manual) is
RewriteRule ^/robots\.txt
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Ole Morten Halvorsen
Monday 15 December 2008 2:27:46 am
Hi Geoff,
I've updated the robots rewrite rule, it was indeed a bit lazy (it matched robots.txt, not robots\.txt). Was not able to reproduce the problem you described though (although, now it's probably fixed anyways). Do you have an example forum post you know of that redirected you to the robots.txt file?
Cheers,Ole M
Senior Software Engineer - Vision with Technology http://www.visionwt.com http://www.omh.cc http://www.twitter.com/omh eZ Certified Developer http://ez.no/certification/verify/358441 http://ez.no/certification/verify/272578