This article covers a Bloomreach Experience Manager version 12. There's an updated version available that covers our most recent release.

07-07-2017

Fully Qualified Link in Rich Text Content

Introduction

Goal

Render links in rich text content as fully qualified URLs.

Background

Links in rich text content are rendered as relative URLs by default. By specifying the attribute fullyQualifiedLinks in the <hst:html> tag, all links ( href and src) are rewritten to fully qualified URLs including the scheme, hostname and, if visible, the portnumber.

Example

JSP

<hst:html hippohtml="${requestScope.document.html}" fullyQualifiedLinks="true" />

Freemarker

<@hst.html hippohtml=document.html fullyQualifiedLinks=true />
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back