SAP Knowledge Base Article - Preview

3627079 - When trying to access JS Storefront store A, it always redirect to store B

Symptom

The environment has configured 2 JS(Javascript) Storefront sites, when accessing https://storeA.{domain}/storeA, the request is redirected to https://storeB.{domain}/storeB, triggering the following API calls: https://api.{domain}/occ/v2/basesites?fields=FULL and https://api.{domain}/occ/v2/storeB/cms/pages. Finally, the content of Store A is returned instead of the expected Store B Storefront.

***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.*** 


Read more...

Environment

  • SAP Commerce Cloud
  • SAP Commerce

Product

SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

endpoints, manifest.json, package.json, rebuild, deploy, ssr, csr, Spartacus, occ, CDN, base site , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.