-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from ethanniser/RhysSullivan-patch-2
robots 2 electric boogaloo
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
# Block all crawlers from accessing the site | ||
# Block all crawlers from accessing /products | ||
User-agent: * | ||
Disallow: / | ||
Disallow: /products | ||
|
||
# Allow Twitter to fetch Open Graph data | ||
# Allow Twitter to fetch Open Graph data from /products | ||
User-agent: Twitterbot | ||
Allow: /products | ||
Allow: / | ||
|
||
# Allow Facebook to fetch Open Graph data | ||
# Allow Facebook to fetch Open Graph data from /products | ||
User-agent: facebookexternalhit | ||
Allow: /products | ||
Allow: / | ||
|
||
# Allow LinkedIn to fetch Open Graph data | ||
# Allow LinkedIn to fetch Open Graph data from /products | ||
User-agent: LinkedInBot | ||
Allow: /products | ||
Allow: / | ||
|
||
# Allow crawling of the homepage for all crawlers | ||
User-agent: * | ||
Allow: / |