Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Social Media: Selecting Facebook check box renders localhost URL in meta

Avatar

Level 2

Hi Team,

Social Media: Selecting Facebook check box renders localhost URL in meta

Details:

I am using sharing component in my stage environment page and I have checked Facebook i.e. present in social media tab of page property .

It renders localhost URL instead of stage URL

eg

<meta property="og:url" content="http://localhost:4503/content

Please help me to correct this url from local host to particular environment Url.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @user03270 you will have to set proper url in Day CQ Link Externalizer OSGi configuration in Domains section.

externalizer.jpg

Probably you will need separate/dedicated configuration for each environment (dev, stage, prod etc). You can find all the details what you need to do under following Adobe documentation page https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/externalizer.html?...

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @user03270 you will have to set proper url in Day CQ Link Externalizer OSGi configuration in Domains section.

externalizer.jpg

Probably you will need separate/dedicated configuration for each environment (dev, stage, prod etc). You can find all the details what you need to do under following Adobe documentation page https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/externalizer.html?...