Reading through some (possibly outdated) Quick Start documentation for DXA, I came across this example of putting the site URL in the Site Identifier field in the publication metadata.

enter image description here

In the product documentation, Site Identifier is covered in Configuring the web application for multilingual websites and it seems the only requirement is to use the same identifier for all publications that form part of your multilingual site.

Why would you put the URL there? Is there a real use-case in which this would make more sense than a simple string, or is this just a cargo-cult thing that should be avoided?


Frankly, it seems that the author of the Quick Start guide misinterpreted the meaning of this field. Especially the note is suspicious; for the value of this field, it is irrelevant which mapping is done later.

The field has no meaning other than that Publications with the same value are considered to belong to the same “Site” group.

I wouldn’t recommend to use a URL as value, simply because it is misleading.

  • Thanks Rick. It's good to have it confirmed that there's no secret magic here that I should know about. – Dominic Cronin Jun 28 '20 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.