aemsites / stericycle-shared

Edge Delivery Service Site for Stericycle sites
https://www.shredit.com, https://www.stericycle.com
Apache License 2.0
0 stars 1 forks source link

connect content matches between hreflangs #354

Open MarquiseRosier opened 1 month ago

MarquiseRosier commented 1 month ago

Setup helix-sitemap.yaml with an example of two pages in different languages, with entirely different paths; being co-located!

rwcsrichardspencer commented 1 month ago

Here's the FR-CA version of the "About Us" page: https://main--shredit--stericycle.aem.page/fr-ca/a-propos-de-shred-it

kronnox commented 1 month ago

Related to #300.

kronnox commented 3 weeks ago

@rwcsrichardspencer Since the pages on shredit won't share the same path suffix, we'll need to map them manually. This can be done in the page metadata (https://www.aem.live/developer/sitemap#specifying-the-primary-language-manually). You will have a default language (probably en-us) and map every copy of it in another language to the original: example The hreflang tags in the header as well as the sitemap entries should get generated automatically.

kronnox commented 3 weeks ago

I'll validate that our sitemap configurations are set-up accordingly and modify the fr-ca homepage metadata so it can be used as an example