Pages section associates an HTTP status code with a URL path:
/. Absolute URLs such as
https://example.com/login and protocol-relative URLs such as
//example.com/login are rejected.
Browser requests
The Kernel uses a configured page only for a browser-styleGET request. The
request must not target /api or a path under /api, and its Accept header
must either be empty or contain text/html.
When these conditions are not met, the request keeps the normal API or HTTP
response instead of being redirected. If the request already has the
configured page path, the Kernel also leaves it unchanged so that the page
does not redirect to itself. Redirects use HTTP 303 See Other.
Uses
The mapping acts as a navigation mechanism for request flows. It handles behaviors such as redirect unauthenticated users to login page when request a protected route, or show a404 page when the plugin router cannot find a matching route or static mount.