Skip to main content
Last updated: 13 Apr 2021

Check for a 'gone' route

When a Whitehall document fails to appear on the frontend, and the user is shown a ‘Gone’ page, follow these instructions:

Connect to a router-backend machine

gds govuk connect -e production ssh router_backend

Check the router API for a gone route

$ govuk_app_console router-api
> r = Route.where(incoming_path: '/path-to-item').first
> puts r.handler

If the result is gone and you want to unblock the URL then you need to remove the route (this works because /government is a prefix route to Whitehall):

> r.destroy