Learn how to manage scalable redirects
[starter]/lib/redirects/redirects.json
.
This file follows a simple structure, where each key represents the old URL path, and the corresponding value is an object containing the destination
URL and a permanent
flag indicating whether the redirect is permanent (301) or temporary (307).
Here’s an example of the redirects.json
file:
redirects.json
file according to your needs. Remember to maintain the correct JSON structure.
Important: After making changes to the redirects.json
file, you must execute the following command to update the generated Bloom filters: