Purtroppo non è semplice, poiché esistono due versioni di quella pagina. Una viene generata lato server e l’altra lato client, a seconda dell’errore. Potremmo aggiungere un outlet alla pagina lato client, ma non sarebbe sempre visibile. Inoltre, vorrei sottolineare che quella pagina viene utilizzata per tutte le eccezioni, quindi dovresti distinguere tra un errore di rete, un errore 500, un 404, ecc.
eviltrout
(Robin Ward)
3
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| Making a distinction between private and non-existing page message | 6 | 709 | Gennaio 24, 2020 | |
| Custom 404 page - existing plugins? | 21 | 2597 | Giugno 3, 2020 | |
| Different error pages for 404 (not found) and 401 (private) | 12 | 1492 | Luglio 23, 2020 | |
| How can users sign up for or log into the forum when they encounter page not found? | 5 | 888 | Luglio 8, 2019 | |
| Changing doesnt-exist-not-found functionality to encourage users to join? | 3 | 599 | Dicembre 13, 2019 |