コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

og.url and og:image linked to localhost:4503

Avatar

Level 3

og.url and og:image both seem fine on author mode "view as published", they all points to correct production domain.

 

But on production live site, both og.url and og:image pointed to localhost:4503? Any settings I should be looking at? Thanks in advance.

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Hi @Kam-nyc 

 

Please check the Externalizer configration and see what URL has been configured?

com.day.cq.commons.impl.ExternalizerImpl.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
externalizer.domains="[local http://localhost:4502,author http://localhost:4502,publish http://www.website.com]"/>

元の投稿で解決策を見る

1 返信

Avatar

正解者
Community Advisor

Hi @Kam-nyc 

 

Please check the Externalizer configration and see what URL has been configured?

com.day.cq.commons.impl.ExternalizerImpl.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
externalizer.domains="[local http://localhost:4502,author http://localhost:4502,publish http://www.website.com]"/>