Forum Sitebox You tried to serve a resource ('robots.txt') directly

Discussion and help relating to the PlayerIO webpage and Facebook app hosting solution, Sitebox.

You tried to serve a resource ('robots.txt') directly

Postby FulaFisken » May 21st, 2012, 12:04 pm

What is the standard way of adding a robots.txt here on playerIO? Usually you just have to add it to the website root. But that doesn't seem to be valid here. We don't need a robots.txt.. but since we get this error all the time it would be nice to fix it.
Code: Select all
You tried to serve a resource ('robots.txt') directly. You have to use the url tag to get the proper url to the resource in your templates: {% url 'robots.txt' %}
Fula Fisken
website blog twitter
Play Game
Astroflux
User avatar
FulaFisken
Paid Member
 
Posts: 139
Joined: March 2nd, 2011, 10:15 am

Re: You tried to serve a resource ('robots.txt') directly

Postby Henrik » May 21st, 2012, 12:44 pm

Oh, we should probably add that file to the whitelist. I'll try to get it out in the next release. :-)
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to Sitebox



cron