For SEO & caching best practices, we need to insert prefix representing language to the URL.
English pages use URLs with no path prefixing.
Spanish pages use /es/ URLs
All links from language specific pages link to language specific URLs
Language selector changes redirect to the appropriate new URL
Landing on a prefixed page sets your language cookie
Landing on a non-language specific page (un-prefixed):
if logged in, redirect to the users saved language.
if not logged in, default to english.
SEO (david mcpherson)
English pages use /en/ URLS
# Unprefixed pages still use language detection to determine where to redirect the user
General path prefixing
Course card linking
Link cleanup discovery
unprefixed language detection + forwarding
cookie setting on prefixed pages