Skip to content

Routing for 404, and Pending Sunset of XPath #6006

@markadrake

Description

@markadrake

What type of issue is it? (Choose one - delete the others)

Missing documentation

What article/section is this about?

Custom Error Page
https://github.com/umbraco/UmbracoDocs/blob/main/13/umbraco-cms/tutorials/custom-error-page.md

Describe the issue

  1. The GUID solution is the least optimal, and I would not consider it realistic. Even your documentation warns against this approach.
  2. XPath seems to be not just the best solution but the only viable solution for ordinary circumstances. For instance, if you wish to serve 404 pages in a multi-tenant environment. This immediately solves the dilemma of localization. It's the only solution that works in production.
  3. This page does not reference standard XPath placeholder variables. I also suspect the most common scenario would be to route to a specific content type dedicated to 404 pages under the current site root. If it weren't for the pending sunset of XPath, this documentation should be updated to include such a scenario.
  4. It's crucial to note that throughout Umbraco's documentation, including this page, it's mentioned that "XPath is suboptimal and will be removed in a future version." This message should include more information, or at minimum a link to an article with more information, about what the replacement for XPath will be. This is a significant issue that needs to be addressed promptly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions