Table of contents

Transition

Remove redirected URLs from Transition

1. Remove YML files

Example PR

First remove the relevant YAML files and get your PR merged.

2. Run rake task

Once your changes have been merged, run the following rake task with the abbr to be deleted:

import:revert:sites[site_abbr]

This task will only work for sites with zero mappings and zero hits - i.e. no associated data beyond that which was created by importing the site YAML file. It will also trigger another task to load the config to Transition (Transition_load_site_config).

If you need to remove a redirect with mappings or hits you can run the following Rake task:

import:revert_entirely_unsafe[site_abbr]

Check here if it worked. It may take up to an hour for cache to be cleared and you should see the following message when it does:

This host is not configured in Transition

This page was last reviewed on 29 July 2019. It needs to be reviewed again on 29 July 2020 by the page owner #govuk-2ndline .
This page was set to be reviewed before 29 July 2020 by the page owner #govuk-2ndline. This might mean the content is out of date.