I believe that you cannot do this with help sessionlessurl, and I also think that there is no ISML function that can do this. But there is a special tag that is used to generate canonical links, and you can also use it. The tag is called issetcanonicallink. Here is a sample code:
<issetcanonicallink
scope="request"
name="CanonicalLink"
action="ViewStandardCatalog-Browse"
parameters="#ParameterList(Parameter('CatalogID', CategoryBO:CatalogBO:Name), Parameter('CategoryName', CategoryBO:Name))#">
<link rel="canonical" href="<isprint encoding="off" value="
The implementation SetCanonicalLinkTagis in the cartridge core, and the parameters are documented accordingly.
source
share