diff --git a/explore/deploy/beta-properties.json b/explore/deploy/beta-properties.json
index c2cc08bb..cc769225 100644
--- a/explore/deploy/beta-properties.json
+++ b/explore/deploy/beta-properties.json
@@ -66,7 +66,8 @@
"pagingLimit": 20,
"resultsPerPage": 10,
- "baseLink" : "https://beta.explore.openaire.eu",
+ "baseLink" : "",
+ "domain": "https://beta.explore.openaire.eu",
"searchLinkToPublication" : "/search/publication?articleId=",
"searchLinkToProject" : "/search/project?projectId=",
diff --git a/explore/deploy/production-properties.json b/explore/deploy/production-properties.json
index c96e7945..a8f63cde 100644
--- a/explore/deploy/production-properties.json
+++ b/explore/deploy/production-properties.json
@@ -67,7 +67,8 @@
"pagingLimit": 20,
"resultsPerPage": 10,
- "baseLink" : "https://explore.openaire.eu",
+ "baseLink" : "",
+ "domain":"https://explore.openaire.eu",
"searchLinkToPublication" : "/search/publication?articleId=",
"searchLinkToProject" : "/search/project?projectId=",
diff --git a/explore/deploy/test-properties.json b/explore/deploy/test-properties.json
index 1188cfe4..3207bc11 100644
--- a/explore/deploy/test-properties.json
+++ b/explore/deploy/test-properties.json
@@ -66,7 +66,8 @@
"pagingLimit": 20,
"resultsPerPage": 10,
- "baseLink" : "https://test.explore.openaire.eu",
+ "baseLink" : "",
+ "domain":"https://test.explore.openaire.eu",
"searchLinkToPublication" : "/search/publication?articleId=",
"searchLinkToProject" : "/search/project?projectId=",
diff --git a/explore/src/app/app.component.ts b/explore/src/app/app.component.ts
index e13e9d0b..039ff265 100644
--- a/explore/src/app/app.component.ts
+++ b/explore/src/app/app.component.ts
@@ -20,8 +20,8 @@ import {ConfigurationService} from "./openaireLibrary/utils/configuration/config
-
diff --git a/explore/src/app/home/home.component.ts b/explore/src/app/home/home.component.ts
index 4d22afcd..992e1ecd 100644
--- a/explore/src/app/home/home.component.ts
+++ b/explore/src/app/home/home.component.ts
@@ -203,11 +203,11 @@ export class HomeComponent {
this.subs.push(this.route.data
.subscribe((data: { envSpecific: EnvProperties }) => {
this.properties = data.envSpecific;
- this.seoService.createLinkForCanonicalURL(this.properties.baseLink+this._router.url, false);
+ this.seoService.createLinkForCanonicalURL(this.properties.domain + this.properties.baseLink+this._router.url, false);
this.getPageContents();
if(this.properties!=null){
- var url = this.properties.baseLink+this._router.url;
+ var url = this.properties.domain + this.properties.baseLink+this._router.url;
this._meta.updateTag({content:url},"property='og:url'");
if(this.properties.enablePiwikTrack && (typeof document !== 'undefined')){
this.subs.push(this._piwikService.trackView(this.properties, "OpenAIRE").subscribe());
diff --git a/explore/src/assets/env-properties.json b/explore/src/assets/env-properties.json
index 5c4a889a..33aebf57 100644
--- a/explore/src/assets/env-properties.json
+++ b/explore/src/assets/env-properties.json
@@ -65,7 +65,8 @@
"pagingLimit": 20,
"resultsPerPage": 10,
- "baseLink" : "https://beta.explore.openaire.eu",
+ "baseLink" : "",
+ "domain":"https://beta.explore.openaire.eu",
"searchLinkToPublication" : "/search/publication?articleId=",
"searchLinkToProject" : "/search/project?projectId=",
diff --git a/explore/src/environments/environment.beta.ts b/explore/src/environments/environment.beta.ts
index 7492a309..a70d52db 100644
--- a/explore/src/environments/environment.beta.ts
+++ b/explore/src/environments/environment.beta.ts
@@ -68,8 +68,9 @@ export let properties: EnvProperties = {
csvLimit: 2000,
pagingLimit: 20,
resultsPerPage: 10,
-
- baseLink: "https://beta.explore.openaire.eu",
+
+ "baseLink" : "/",
+ "domain":"https://beta.explore.openaire.eu",
searchLinkToResult: "/search/result?id=",
searchLinkToPublication: "/search/publication?articleId=",
diff --git a/explore/src/environments/environment.prod.ts b/explore/src/environments/environment.prod.ts
index 8e59dc72..0ff89e23 100644
--- a/explore/src/environments/environment.prod.ts
+++ b/explore/src/environments/environment.prod.ts
@@ -69,8 +69,9 @@ export let properties: EnvProperties = {
csvLimit: 2000,
pagingLimit: 20,
resultsPerPage: 10,
-
- baseLink: "https://explore.openaire.eu",
+
+ "baseLink" : "/",
+ "domain": "https://explore.openaire.eu",
searchLinkToResult: "/search/result?id=",
searchLinkToPublication: "/search/publication?articleId=",
diff --git a/explore/src/environments/environment.test.ts b/explore/src/environments/environment.test.ts
index 423c9a80..c9d691e5 100644
--- a/explore/src/environments/environment.test.ts
+++ b/explore/src/environments/environment.test.ts
@@ -68,8 +68,9 @@ export let properties: EnvProperties = {
csvLimit: 2000,
pagingLimit: 20,
resultsPerPage: 10,
-
- baseLink: "https://test.explore.openaire.eu",
+
+ "baseLink" : "/",
+ "domain": "https://test.explore.openaire.eu",
searchLinkToResult: "/search/result?id=",
searchLinkToPublication: "/search/publication?articleId=",
diff --git a/explore/src/environments/environment.ts b/explore/src/environments/environment.ts
index 82b57d2a..d80edeae 100644
--- a/explore/src/environments/environment.ts
+++ b/explore/src/environments/environment.ts
@@ -72,8 +72,9 @@ export let properties: EnvProperties = {
csvLimit: 2000,
pagingLimit: 20,
resultsPerPage: 10,
-
- baseLink: "https://beta.explore.openaire.eu",
+
+ "baseLink" : "",
+ "domain": "https://beta.explore.openaire.eu",
searchLinkToResult: "/search/result?id=",
searchLinkToPublication: "/search/publication?articleId=",