Routing issue in Umbraco 17

Upgraded the site from Umbraco 13 to Umbraco 17. It broke the routing. Even though the cultures for the url are defined, still it says 404 page not found. The backend has templates, url, etc.
The log file says:

{“@t”:“2025-11-25T13:48:14.6520960Z”,“@mt”:“No physical template file was found for template {Template}”,“@l”:“Warning”,“@tr”:“1a1b0495d36672dc6276ff4727a0bde5”,“@sp”:“f107fd1039363123”,“Template”:“HomePage”,“SourceContext”:“Umbraco.Cms.Web.Common.Controllers.RenderController”,“ActionId”:“73690651-ff58-4fdb-9245-b3f89f78a782”,“ActionName”:“Umbraco.Cms.Web.Common.Controllers.RenderController.Index (Umbraco.Web.Common)”,“RequestId”:“400000cb-0002-f800-b63f-84710c7967bb”,“RequestPath”:“/”,“ProcessId”:26124,“ProcessName”:“iisexpress”,“ThreadId”:7,“ApplicationId”:“d9920e7e594a3a6962c5903b1de02c65b8e4160d”,“MachineName”:“xxxxxx”,“Log4NetLevel”:"WARN ",“HttpRequestId”:“38c5b2e9-fdb8-4e0b-8ad8-23e7ea5aaaad”,“HttpRequestNumber”:12,“HttpSessionId”:“7f74d48f-c5b8-b98d-6a68-b8fd730972cb”}

The routing is fine, there’s just some upgrade instructions you need to apply, also see this topic:

1 Like

Thanks <3.
The only thing that fixed for me was to reference:

Umbraco.Cms.DevelopmentMode.Backoffice

I am using SourceCodeManual. Removing the following created problems as tons of compilation errors came, so revered them back.

<RazorCompileOnBuild>false</RazorCompileOnBuild>
<RazorCompileOnPublish>false</RazorCompileOnPublish>

installing Umbraco.Cms.DevelopmentMode.Backoffice was the fix <3

Thank you

1 Like

NEW ISSUE:

after doing this, now all the nodes are showing “*This document is published but its URL cannot be routed”.
*
I have defined culture and hostnames, but they do not reflect.
Only the home page is loading.

Could you guide?

No idea about this one, I would start with Reloading and / or rebuilding the cache (Settings > Published Status).

I fixed the problem by installing Umbraco MCP and then using AI Agent to republish all the nodes. Once all the nodes were republished, the correct links reappeared