<@hst.link path="/about/management>
a href=“/about/management”>
The path specified must append to the root url instead it gets appended to the current url what is the solution for referring to the sitemap that we want to refer
for eg: if i am in localhost:8080/site/about and when i use above links in content of that page ,it is changing to localhost:8080/site/about/about/management. it is getting appended to the current url.
what is the solution for the above issue
Hi,
The hst.link with a path attribute is meant to create an URL from the content path, based on the configured site map (URL space). So either you should set the path to the document that is behind the URL /about/management or add a site map item to represent the document /about/management (I don’t know which you have)
See also Delivery Tier URLs - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS
Regards, Jeroen
I am able to use hst.link in ftl page for a particular path. But if i want to link to the path in a content (rtf) i gave a href=“/about/management”>but instead of pointing to that ref it gets appended to the current url.