Change a specialist document base path
In Specialist Publisher, the base path is automatically generated based on the title when the document is first created. We sometimes receive Zendesk tickets to change a base path when the title has been updated, as the publisher does not have the ability to do this.
- Run base_path:edit[content_id,locale,new_base_path] on Integration
- Run base_path:edit[content_id,locale,new_base_path] on Staging
- ⚠️ Run base_path:edit[content_id,locale,new_base_path] on Production ⚠️
You can find the
locale of the document using the govuk-toolkit browser extension.
Note: the rake task will only change the slug for the latest draft (creating a new draft if necessary). For the change to be permanent, you need to publish the draft, which you can either do in the Specialist Publisher UI or by using the CLI:
$ gds govuk connect app-console -e production specialist-publisher