How should canonical URLs be generated in a multi-client CMS?
Canonical generation should be based on the public destination URL for the specific deployment mode, not the CMS storage or preview URL. 1. Store the client’s canonical site origin as configuration rather than deriving it from the CMS host. 2. Resolve the public route/slug and generate one absolute canonical from origin + final path. 3. Keep previews, embed…
Read the full solution →