Creating the Redirects | Creating Simple HTTP Redirect Routes from a Statamic Site
At this point I have my relative URLs in a nicely formatted string, and all that is left to do is generate the routes file. I will be doing this by constructing a string with interpolated values and returning it: 1 <?php 2 3 function...