Since Ghost 1.9.0, there is a new Labs feature that allows you to download and upload a redirects.json file within the admin interface of your publication.
Warning: Uploading a redirects.json file using the admin interface will overwrite any existing redirects.json file. Ensure you download the current redirects and edit the file before re-uploading to avoid accidental removal of existing redirect rules.
For details on how to format your redirects.json file, please view our redirects documentation.
Upload redirects.json file
To setup redirects within your publication, follow the steps below.
- Log in to your publication at
http://subdomain.ghost.io/ghost/signin
- Click Settings > Labs
- Click the Upload redirects JSON button and select the file to upload to your publication
Download redirects.json file
To download your existing redirects.json file, follow the steps below.
- Log in to your publication at
http://subdomain.ghost.io/ghost/signin
- Click Settings > Labs
- Click the Download current redirects link
- Save the redirects.json file
Sarah Frantz