UmbracoApplicationUrl with or without `/umbraco`
# help-with-umbraco
b
In Umbraco 8 we had this in `umbracoSettings.config`:
Copy code
<web.routing
  trySkipIisCustomErrors="true"
  internalRedirectPreservesTemplate="false" disableAlternativeTemplates="false" validateAlternativeTemplates="false" disableFindContentByIdPath="false"
  umbracoApplicationUrl="">
</web.routing>
The comment says:
Copy code
@umbracoApplicationUrl
  The url of the Umbraco application. By default, Umbraco will figure it out from the first request.
  Configure it here if you need anything specific. Needs to be a complete url with scheme and umbraco
  path, eg http://mysite.com/umbraco. NOT just "mysite.com" or "mysite.com/umbraco" or "http://mysite.com".
However in the new docs it says: https://docs.umbraco.com/umbraco-cms/reference/configuration/webroutingsettings Umbraco application URL Defines the Umbraco application URL that the server should reach itself. By default, Umbraco will guess that URL from the first request made to the server. Use this setting if the guess is not correct (because you are behind a load-balancer, for example). Format is: http://www.mysite.com/, ensure to contain the scheme (http/https) and complete hostname. Has this changed or should Umbraco Application URL still contains Umbraco backoffice path?
k
We have it without the
/umbraco
part. Running fine in Production runtime mode (which requires the URL to be set).
"Runtime": { "Mode": "Production" },
"WebRouting": { "UmbracoApplicationUrl": "https://unbraqo.azurewebsites.net" }
s
Since you can't change
/ umbraco
in v9+ any more, you don't need to specify that part any more.
b
@Sebastiaan okay thanks, it makes sense then. I think it is worth mentioning for sites being migrated e.g. from Umbraco 8 to Umbraco 9+ ... not sure what happens if specifying
http://www.mysite.com/umbraco
or
http://www.mysite.com/admin
from a previous configured Umbraco application URL. Maybe the path is just ignored anyway.