diff --git a/explore/angular.json b/explore/angular.json
index a1983ab6..99a0e19c 100644
--- a/explore/angular.json
+++ b/explore/angular.json
@@ -99,7 +99,7 @@
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
- "buildOptimizer": true,
+ "buildOptimizer": true
}
}
},
@@ -185,6 +185,14 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
+ },
+ {
+ "replace": "src/index.html",
+ "with": "src/index.prod.html"
+ },
+ {
+ "replace": "src/robots.txt",
+ "with": "src/robots.prod.txt"
}
]
},
@@ -193,6 +201,14 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.beta.ts"
+ },
+ {
+ "replace": "src/index.html",
+ "with": "src/index.beta.html"
+ },
+ {
+ "replace": "src/robots.txt",
+ "with": "src/robots.beta.txt"
}
]
},
@@ -201,6 +217,14 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.test.ts"
+ },
+ {
+ "replace": "src/index.html",
+ "with": "src/index.beta.html"
+ },
+ {
+ "replace": "src/robots.txt",
+ "with": "src/robots.beta.txt"
}
]
},
diff --git a/explore/src/index.beta.html b/explore/src/index.beta.html
new file mode 100644
index 00000000..d6e7a5f1
--- /dev/null
+++ b/explore/src/index.beta.html
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Search OpenAIRE
+
+
+
+
+
+
+
+
+
+
diff --git a/explore/src/index.html b/explore/src/index.html
index 90faa98c..d6e7a5f1 100644
--- a/explore/src/index.html
+++ b/explore/src/index.html
@@ -19,10 +19,7 @@
-
-
-
-
+
@@ -44,24 +41,6 @@
Search OpenAIRE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/explore/src/index.prod.html b/explore/src/index.prod.html
new file mode 100644
index 00000000..444cea0e
--- /dev/null
+++ b/explore/src/index.prod.html
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Search OpenAIRE
+
+
+
+
+
+
+
+
+
+
diff --git a/explore/src/robots.beta.txt b/explore/src/robots.beta.txt
new file mode 100644
index 00000000..b93e3f5f
--- /dev/null
+++ b/explore/src/robots.beta.txt
@@ -0,0 +1,3 @@
+User-Agent: *
+Disallow: /
+
diff --git a/explore/src/robots.prod.txt b/explore/src/robots.prod.txt
new file mode 100644
index 00000000..91dd1e47
--- /dev/null
+++ b/explore/src/robots.prod.txt
@@ -0,0 +1,29 @@
+User-Agent: *
+Disallow: /upload
+Disallow: /participate/direct-claim
+Disallow: /myclaims
+Disallow: /claims
+
+Disallow: /search/dataset?datasetId=*
+Disallow: /search/other?orpId=*
+Disallow: /search/project?projectId=*
+Disallow: /search/dataprovider?datasourceId=*
+Disallow: /search/organization?organizationId=*
+Disallow: /project-report?projectId=*
+
+Disallow: /search/find/datasets/
+Disallow: /search/find/other/
+Disallow: /search/find/projects/
+Disallow: /search/find/dataproviders/
+Disallow: /search/find/organizations/
+
+Disallow: /search/advanced/datasets/
+Disallow: /search/advanced/other/
+Disallow: /search/advanced/projects/
+Disallow: /search/advanced/dataproviders/
+Disallow: /search/advanced/organizations/
+
+Sitemap: https://explore.openaire.eu/sitemap.xml
+Sitemap: https://explore.openaire.eu/publicationSitemap.xml
+Sitemap: https://explore.openaire.eu/softwareSitemap.xml
+
diff --git a/explore/src/robots.txt b/explore/src/robots.txt
index df7d261c..b93e3f5f 100644
--- a/explore/src/robots.txt
+++ b/explore/src/robots.txt
@@ -1,31 +1,3 @@
User-Agent: *
-Disallow: /upload
-Disallow: /participate/direct-claim
-Disallow: /myclaims
-Disallow: /claims
-
-Disallow: /search/dataset?datasetId=*
-Disallow: /search/other?orpId=*
-Disallow: /search/project?projectId=*
-Disallow: /search/dataprovider?datasourceId=*
-Disallow: /search/organization?organizationId=*
-Disallow: /project-report?projectId=*
-
-Disallow: /search/find/datasets/
-Disallow: /search/find/other/
-Disallow: /search/find/projects/
-Disallow: /search/find/dataproviders/
-Disallow: /search/find/organizations/
-
-Disallow: /search/advanced/datasets/
-Disallow: /search/advanced/other/
-Disallow: /search/advanced/projects/
-Disallow: /search/advanced/dataproviders/
-Disallow: /search/advanced/organizations/
-
-#Disallow: /
-
-Sitemap: https://explore.openaire.eu/sitemap.xml
-Sitemap: https://explore.openaire.eu/publicationSitemap.xml
-Sitemap: https://explore.openaire.eu/softwareSitemap.xml
+Disallow: /