Create Content Asset Links

You can create links to other sites or content assets.

  1. Decide if you want to link to:
    • Another site
    • Static content in your site - can be an image, product page, or article
    • Dynamic content in your site - is content that is determined when the link is clicked. For example, to link to a set of search results, you create a link to a pipeline that performs the search and returns the search results. Developers for your site can tell you the name and parameters of pipelines you can use.
  2. Determine the type of link to create.
  3. Open your browser and look at the URL of the page or image you want to link to.
    • If your URL looks like a URL outside your domain (www.otherstore.com), link to another site's domain.
    • If your URL looks like a category page or search result, use the Product or Category page URL hyperlink feature.
    • If your URL looks like an image, product or content asset, link to a static content asset.
  4. When creating or editing a hyperlink within a content asset, select one of these link types:
    • URL
    • Product detail page URL
    • Category page URL
    • Content page URL
    • Link to anchor in the text
    • E-Mail

    When you edit a hyperlink in the HTML editor using the Link editor, the link value you enter is not used. The link text only changes when changing the:

    • Product SKU of a product detail page URL: if the product exists for the SKU or is set to the value the user entered, the link text is changed to the display name of the product.
    • Category ID of a catalog category page URL: if a catalog category exists for the ID or is set to the value the user entered, the link text is changed to the display name of the catalog category.
    • Content Asset ID of a content page URL: if a content asset exists for the given ID or is set to the value the user entered, the link text is changed to the display name of the content asset.
    • Search Phrase of a keyword search URL: the link text is changed to the new search phrase.
    • Protocol or the URL of a normal URL and the link text was equal to the previous protocol plus the URL: the link text is changed to new protocol plus the new URL.
  5. For Product, Category, and Content page URLs, enter a product SKU, category ID (of a category in the storefront catalog) or content asset ID (of an asset in the site library) respectively. The system generates the appropriate URL. If you create a hyperlink, the link text defaults to the display name of the product, category, or content asset in the currently selected locale. This is from the HTML view.
Content asset links for images are usually to folders in your image library. You can't use the content asset editor to dynamically create an absolute URL for an image in a content asset link that includes the full path to the image. Instead, you must either post-process the markup of your assets by using placeholders such as #hostname#. The placeholders are replaced with the correct value programmatically before outputting the markup or hard code the full image URLs from production into your asset. This is only a consideration if you are including content assets in emails.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.