Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Externalizing URLs in AEM | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

BlogImage.jpg

Externalizing URLs in AEM by AEM Queries & Solutions - Nikhil

Abstract

In this article we will discuss on how we can configure a Externalizer and use it in AEM code. Lets understand what is the use of Externalizing the URLs.

Externalizer is an OSGI service using which we can update a resource path (e.g. /content/mycompany/my/page ) into an external and absolute URL (for example, https://www.mycompany.com/content/mycompant/my/page ) by prefixing the path with a pre-configured DNS.

As the instance in which the application is running can’t know its externally visible URL if it is running behind a web layer, and because sometimes a link has to be created outside of the request scope, this service provides a central place to configure those external URLs.

Configuration:

Navigate to /system/console/configMgr and configure the URL you want to use as part of externalizer by mapping it in Domains option.

Read Full Blog

Externalizing URLs in AEM

Q&A

Please use this thread to ask the related questions.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies