Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
Adds robots.txt
Browse files Browse the repository at this point in the history
closes #333
  • Loading branch information
JPrevost committed Aug 24, 2015
1 parent 91817c3 commit 20598da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/routes
Expand Up @@ -196,3 +196,4 @@ POST /submodel controllers.Application.addSubscriberModel

# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)
GET /robots.txt controllers.Assets.at(path="/public", file="robots.txt")
11 changes: 11 additions & 0 deletions public/robots.txt
@@ -0,0 +1,11 @@
User-agent: *
Disallow: /item
Disallow: /item/
Disallow: /items
Disallow: /items/
Disallow: /topic
Disallow: /topic/
Disallow: /topics
Disallow: /topics/
Disallow: /search
Disallow: /search/

1 comment on commit 20598da

@richardrodgers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can always tweak this - good to have one in place! 👍

Please sign in to comment.