Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

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 Accepted Solution

Avatar

Correct answer by
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]"/>

View solution in original post

1 Reply

Avatar

Correct answer by
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]"/>