Wrong URL in schema
-
Hello Yoast SEO
My site is using WPML with pages in English and French. I am looking at the schema output for the English homepage.
For the Organization type, the URLs are mostly for the French pages:
“@type”: “Organization”,
“@id”: “https://fr.bigchateau.com/#organization,
“name”: “Big Chateau”,
“url”: “https://fr.bigchateau.com/,For the Webpage type, the URLs are a mixture. The main id is an English URL but the “isPartOf” id is a French URL:
“@type”: “WebPage”,
“@id”: “https://bigchateau.com/contact/#webpage,
“url”: “https://bigchateau.com/contact/,
“name”: “Contact us – Chateau d’Hallines, Northern France”,
“isPartOf”: {
“@id”: “https://fr.bigchateau.com/#websiteThis can’t be right. I’ve looked at your code and tried to work out how you retrieve the Home URL but I can’t get to the bottom of it.
What I would hope for is that the schema reports the English URLs on English pages and the French URLs on French pages.
Please help.
Thank you.
- This topic was modified 4 years, 4 months ago by .
- This topic was modified 4 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Wrong URL in schema’ is closed to new replies.