I changed the value for Images Path and Images URL to \media\mysite and /media/mysite/ in the Publication properties and re-published my custom page and publish setting page.

But now its not rendering the images on the webpage, when I copied the image url from page source and open it in new tab it gives error:

No matching Localization found for URL http://{domain}/media/mysite/{image-name}.png.

Is there any additional step I need to do apart from re-publishing the custom page and publish settings page?

  • What is the Publication URL? Dec 9, 2016 at 13:25

1 Answer 1


The settings are cached agressively in the DXA Web App. If you change/republish the settings, you either have to restart your DXA Web App or use the /admin/refresh URL to flush the cache.

Furthermore, if you change the Images/Multimedia URL on your Publication, you will have to republish all Binaries (because their URLs change).

  • I do have unpublished all the pages and restarted the WebApp but still same error there. Also all my components are embedded in page itself and gets published with page only. If I am changing back the "Images Path" and "Images URL" to "\media" and "/media/" in the Publication properties it is then working fine and rendering the Images on webpage. Is there any reason it is forcing me to use the default values only ? Dec 15, 2016 at 15:34
  • No, it should work fine with non-default values (we are doing that in our automated tests). Dec 15, 2016 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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