DXA assumes that Binaries (Media Items) are published under the "Multimedia URL" as configured on the CM Publication.
This will happen if you publish the Binaries without specifying a StructureGroup. You could also create StructureGroups which reflect the MultimediaUrl
and publish your Binaries in that SG subtree.
Anyways, DXA assumes that the URL of Binaries start with the configured MultimediaUrl
. The reason for this is that it has to distinguish so-called Static Content Items (handled by the StaticContentModule
) from dynamic Pages or REST API request (handled by a Controller).