Static GitHub Issues

[2063] How to implement redirection to a page that the user had previously, if the page to which he passed does not exist

prev: path variable 404
next: module treated as esModule. Make commonjs?

If suddenly the user goes to a nonexistent url, you need to implement the redirect to the page which the user had before. How can I do that?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1830">#c1830</a>)</em></sub></div>