Social Media: Selecting Facebook check box renders localhost URL in meta | Community
Skip to main content
Level 2
March 11, 2022
Solved

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

  • March 11, 2022
  • 1 reply
  • 594 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

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

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?lang=en

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
March 11, 2022

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

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?lang=en