Skip to content

How to Redirect a Learning Lab to a new Lab ID

Anne Gentle edited this page Apr 11, 2019 · 3 revisions

To create a redirect, the lab’s JSON file has to be set to “active”: true, and you will need to make a release and have a DevNet Admin publish that release for the redirect to be active.

  1. Open the JSON file for the lab in your editor.
  2. In the JSON, create a new line for redirectTo: and then refer to the new lab-id. An example JSON file is here: https://github.com/ThanhDuyTon/sample-labs/blob/master/labs/redirect-to/redirect-to.json.
    "redirectTo": "git-basic-workflows",
    
  3. Save the JSON file.
  4. Create a new release on GitHub.
  5. Have a DevNet Admin publish that release.
Clone this wiki locally