WebSite X5Help Center

 
Jerry G.
Jerry G.
User

Is there a way to edit open graph data or remove it?  en

Autor: Jerry G.
Visited 163, Followers 1, Udostępniony 0  

My og: locale is showing as EN_GB, but I am in the US and need EN_US but I don't see anywhere to actually audit or change the open graph information. I know it is built into the project title, description etc.. but I have made several other changes that should have changed og tags, but they stayed the same (og:url hasn't changed after NUMEROUS changes to the urls used in the program)

Posted on the
10 ODPOWIEDZI - 2 USEFUL
Daniel W.
Daniel W.
User
Najlepszy Użytkownik miesiąca DENajlepszy Użytkownik miesiąca EN

The settings for og:locale are set in WebSite X5 under “1 Settings > General Information” under “Content Language”, but there is only the “EN – English” selection and no other EN selection.

Maybe Incomedia staff can say in about 7 hours during office hours in Italy whether EN_US will be available in the next update.

Czytaj więcej
Posted on the from Daniel W.
Jerry G.
Jerry G.
User
Autor

Yeah, I have the default EN - English choosen but it puts the language and locale as EN_GB instead of the EN_US that Google says I should have since I am in the states. Thanks for the reply.

Czytaj więcej
Posted on the from Jerry G.
Incomedia
Eric C.
Incomedia

Hello Jerry,
I will report the matter regarding EN_US, could you provide additional details on the other tags that should have changed but have not even after modifications to the website?
Thank you.

Czytaj więcej
Posted on the from Eric C.
Jerry G.
Jerry G.
User
Autor

Ok, the og system is adding the EN_GB to the starting html tag

<html prefix="og: http://ogp.me/ns#" lang="en-GB" dir="ltr">

And again in the lower portion of the head with the locale tag

<meta property="og:locale" content="en_GB" />

It is also defaulting my main page to the index.html instead of just using the base url which is messing with my canonicalization so I have to change it everytime I make a change

<meta property="og:url" content="https://www.giffordfenceorlando.com/index.html" />

Should be 

<meta property="og:url" content="https://www.giffordfenceorlando.com/" />

I have changed this everywhere I can find that index.html is hardcoded in the program (I even removed the hard coded index.html name in the page properties for index.html)

Czytaj więcej
Posted on the from Jerry G.
Incomedia
Eric C.
Incomedia

Hello Jerry,
I confirm that this is normal and cannot be changed, you can however add a code to your homepage to specify the canonical URL without index.html if you wish.
What do you mean by "I even removed the hard coded index.html name in the page properties for index.html"?

Czytaj więcej
Posted on the from Eric C.
Incomedia
Eric C.
Incomedia

Hello,
the locale en_GB can be changed in the Language Content section.
Please go to Step 1 - Settings ---> General Information and open the Content Language settings.
Look for the ID content "culture_id" and you will be able to modify the value from en_GB to en_US
I remain available.

Czytaj więcej
Posted on the from Eric C.
Jerry G.
Jerry G.
User
Autor

Thank you. That did change it in the meta og tag section, but it didn't change it in the main html tag

<html prefix="og: http://ogp.me/ns#" lang="en-GB" dir="ltr">

I found that setting in the same window under lang and changed it from en-GB to en-US (just in case anyone else runs into the same issue)

As far as the index.html reference, every time I have to reupload the index.html file I have to open the file on the server and change the 

<meta property="og:url" content="https://www.giffordfenceorlando.com/index.html" /> tag to

<meta property="og:url" content="https://www.giffordfenceorlando.com/" /> so it doesn't contradict my canonical tag.

GSC has been marking the page with incorrect canonical beause of the contradictory tags.

Czytaj więcej
Posted on the from Jerry G.
Incomedia
Eric C.
Incomedia

Hello Jerry,
I will add your feedback to the suggestion of being able to choose the format for the homepage URL.

Czytaj więcej
Posted on the from Eric C.
Glaucio M.
Glaucio M.
User

Aqui eu insiro o código no head:

<link rel="canonical" href="https://virtuainfo.com.br" />

Tive esse tipo de dificuldade também, depois disso minha luta com o Google diminuiu drásticamente...

Czytaj więcej
Posted on the from Glaucio M.
Jerry G.
Jerry G.
User
Autor

I have the canonical tag in my head, but with the og:url tag contradicting it Google doesn't like it. When I edit the og:url tag to match my canonical Google just sees it as a duplicate and not a contradiction.

Czytaj więcej
Posted on the from Jerry G.