Good catch @paulswithers. We should either add a Rails route for “/custom”, which is easy enough to do, or have the “Back to Forum” button just link back to “/”. Or even do both, to ensure “/custom” has parity with the other named routes.
Got a fix up here: https://github.com/discourse/discourse/pull/29125