7 months ago
Create URL redirects using JavaScript schemas
It is now possible to create redirects explicitly from a JavaScript schema. Previously, redirects were implicitly created based on the redirects added to the source entity during ingest. When creating multiple URLs or stitching URLs together from multiple data sources, we now offer the possibility to add dynamic redirects as well.
A simple example for creating redirects from a JavaScript schema is where the .redirects function is passed an array of strings:
Read more about routes, urls and redirects in the documentation.