LocaleRouter

How the Worker resolved this page

  1. Host "com.colder.cc" maps to site "com", market "intl".
  2. Site "com" has one language, so the locale is en and there is no path prefix.
  3. Slug "" (the home page) in en belongs to the page id "home", and each locale has its own slug for that id.
  4. This page lists the hreflang codes en, x-default, fr-FR, fr, fr-BE, nl-BE, and every version lists the same set.
hostname
com.colder.cc
resolved from
host
site
com
market
intl
path prefix
(none)
locale
en
slug
(home)
page id
home

One build serving several countries

This site, the French site and the Belgian site run on the same Worker and share one content store. The Host header decides which country site you get.

Other versions

Try these

Open each URL. The expected response is beside it.