Hello everyone,
My JSON LD schema markup works great on my domestic pages and has been validated with Rich Results Test / Schema.org validator.
However, once I go to an international version of a page on my website (subfolder directory - example.com/en-au/ ), the Schema is no longer populating the page HTML nor is it showing up in validators.
What’s happening here?
To explain my set up further:
- I create JSON LD schema in a snippet
- I render said snippet in relevant section from which snippet is pulling dynamic values
- Rendering is based on tail end of page path, well beyond the subdirectory path
- For example if the page is example.com/collections/mens-shoes or example.com/en-au/collections/mens-shoes, I render snippet based on /collections/mens-shoes
- All my subdirectories are in english
Appreciate any insight! Thanks