cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris - how to update relative URL with correct context and site

0018080526
Discoverer
0 Kudos
745

Hello SAP Hybris support,

Background:

We have a two cms sites. 1 for US and 2 for CA. But we are using one content catalog which is being used between two sites.

Problem statement:

One paragraph component is being used for two sites (US & CA). And, within paragraph component, there is a relative link. Exmaple: href="/testpage/exmpale". Once page loads, same link is going 404, because it is missing correct site.

Expected behavior:

Above link should be convert into "https://<domain>/us/testpage/example" But it is not. Our expectation is when page loads the link should be replaced with correct site. How can we achieve this at backend?

Accepted Solutions (0)

Answers (0)