From 7f41b714252d7502baed6572353b4947826e681c Mon Sep 17 00:00:00 2001 From: Swadesh Behera Date: Mon, 31 Jul 2023 07:56:42 +0530 Subject: [PATCH] robots.txt: Allow all urls --- pnpm-lock.yaml | 2 +- static/robots.txt | 82 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 94cc7752..6ffbd31e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: false diff --git a/static/robots.txt b/static/robots.txt index c2aab7e0..372b49b1 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1,2 +1,82 @@ +# we use Litekart as our ecommerce platform + User-agent: * -Disallow: / \ No newline at end of file +Disallow: /admin +Disallow: /cart +Disallow: /orders +Disallow: /checkouts/ +Disallow: /checkout +Disallow: /carts +Disallow: /account +Disallow: /collections/*sort_by* +Disallow: /*/collections/*sort_by* +Disallow: /collections/*+* +Disallow: /collections/*%2B* +Disallow: /collections/*%2b* +Disallow: /*/collections/*+* +Disallow: /*/collections/*%2B* +Disallow: /*/collections/*%2b* +Disallow: */collections/*filter*&*filter* +Disallow: /policies/ +Disallow: /search +Disallow: /apple-app-site-association + +# Google adsbot ignores robots.txt unless specifically named! +User-agent: adsbot-google +Disallow: /checkouts/ +Disallow: /checkout +Disallow: /carts +Disallow: /orders + +User-agent: Nutch +Disallow: / + +User-agent: AhrefsBot +Crawl-delay: 10 +Disallow: /admin +Disallow: /cart +Disallow: /orders +Disallow: /checkouts/ +Disallow: /checkout +Disallow: /carts +Disallow: /account +Disallow: /collections/*sort_by* +Disallow: /*/collections/*sort_by* +Disallow: /collections/*+* +Disallow: /collections/*%2B* +Disallow: /collections/*%2b* +Disallow: /*/collections/*+* +Disallow: /*/collections/*%2B* +Disallow: /*/collections/*%2b* +Disallow: */collections/*filter*&*filter* +Disallow: /policies/ +Disallow: /search +Disallow: /apple-app-site-association + +User-agent: AhrefsSiteAudit +Crawl-delay: 10 +Disallow: /admin +Disallow: /cart +Disallow: /orders +Disallow: /checkouts/ +Disallow: /checkout +Disallow: /carts +Disallow: /account +Disallow: /collections/*sort_by* +Disallow: /*/collections/*sort_by* +Disallow: /collections/*+* +Disallow: /collections/*%2B* +Disallow: /collections/*%2b* +Disallow: /*/collections/*+* +Disallow: /*/collections/*%2B* +Disallow: /*/collections/*%2b* +Disallow: */collections/*filter*&*filter* +Disallow: /policies/ +Disallow: /search +Disallow: /apple-app-site-association + +User-agent: MJ12bot +Crawl-Delay: 10 + +User-agent: Pinterest +Crawl-delay: 1 \ No newline at end of file