Skip to content

Commit

Permalink
Adds robots.txt for dcat language problem
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadIsmailShahzad committed Oct 27, 2021
1 parent d69dabb commit 3f8b2fb
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions ckanext/nhs/templates/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
User-agent: *
{% block all_user_agents -%}
Disallow: /dataset/rate/
Disallow: /revision/
Disallow: /dataset/*/history
Disallow: /api/
Disallow: /ar/
Disallow: /bg/
Disallow: /ca
Disallow: /cs_CZ/
Disallow: /da_DK/
Disallow: /de/
Disallow: /dv/
Disallow: /el/
Disallow: /en_AU/
Disallow: /en_GB/
Disallow: /es/
Disallow: /es_AR/
Disallow: /fa_IR/
Disallow: /fi/
Disallow: /fr/
Disallow: /hu/
Disallow: /id/
Disallow: /is/
Disallow: /it/
Disallow: /ja/
Disallow: /km/
Disallow: /ko_KR/
Disallow: /lt/
Disallow: /lv/
Disallow: /my_MM/
Disallow: /nl/
Disallow: /no/
Disallow: /pl/
Disallow: /pt_BR/
Disallow: /ro/
Disallow: /ru/
Disallow: /sk/
Disallow: /sl/
Disallow: /sq/
Disallow: /sr/
Disallow: /sr_Latn/
Disallow: /sv/
Disallow: /tr/
Disallow: /uk_UA/
Disallow: /zh_CN/
Disallow: /zh_TW/
Crawl-Delay: 10
{%- endblock %}

{% block additional_user_agents -%}
{%- endblock %}

0 comments on commit 3f8b2fb

Please sign in to comment.