og.url and og:image linked to localhost:4503 | Community
Skip to main content
Level 3
Oct 12, 2021 9:54 PM UTC
Solved

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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 13, 2021 2:30 AM UTC

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 reply

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 13, 2021 2:30 AM UTC

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]"/>
Translate